home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / programm / tools / 1796 < prev    next >
Encoding:
Text File  |  1992-12-22  |  1.9 KB  |  47 lines

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cuugnet!mcneillb
  3. From: mcneillb@cuug.ab.ca (Blake Mcneill 281-9391)
  4. Subject: Landscape Mode Printing
  5. Message-ID: <1992Dec22.095037.25822@cuug.ab.ca>
  6. Keywords: Landscape Printing Problems 
  7. Organization: Calgary UNIX Users' Group
  8. References: <1658@bdrc.bdrc.bd.com>
  9. Date: Tue, 22 Dec 1992 09:50:37 GMT
  10. Lines: 35
  11.  
  12. I have a problem concerning printing in Landscape mode in
  13. Windows 3.1 in a program that I am writing with Borland C++
  14. version 3.1.  What is frustrating about this is that
  15. everything works when I print Portrait mode but nothing
  16. prints under Landscape mode (Laserjet IIIsi or Roland 9
  17. pin).  I'm under the impression that there is no difference
  18. in my code for Portrait and Landscape modes since windows
  19. handles the print orientation.  Could I be wrong??  It
  20. wouldn't be the first time!  I have tried some other source
  21. code (DLGDEMO4 from PC-Magazine July 1992 by Ray Duncan, for
  22. example) and have found that these programs also fail to
  23. print in Landscape mode.
  24.  
  25. If I use landscape mode the window does not refresh from the
  26. print dialog box and the program hangs on the EndPage
  27. function until I cancel the print job.  Nothing is sent to
  28. the printer.  Something is sent to the Print Spooler (a
  29. StartDoc or StartPage) but no record of anything to
  30. physically print.  If I click anywhere other then the cancel
  31. print job button in my abort print dialog, I might have to
  32. cntrl-alt-del the program to kill it.  I know that my
  33. printer works with Landscape mode since NotePad and other
  34. applications print Landscape mode just fine.  Could my
  35. problem be something that I'm missing or could it be some
  36. undocumented function or what?  
  37.  
  38. Any help would be greatly appreciated.
  39.  
  40. Blake McNeill
  41.  
  42. @cuugnet.cuug.ab.ca
  43.  
  44. Does a psychic's phone ever ring??
  45.  
  46.  
  47.