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

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. From: chris@chrism.demon.co.uk (Chris Marriott)
  3. Path: sparky!uunet!pipex!demon!chrism.demon.co.uk!chris
  4. Subject: Re: Landscape Mode Printing 
  5. Distribution: world
  6. References: <1992Dec22.095037.25822@cuug.ab.ca>
  7. Organization: None
  8. Reply-To: chris@chrism.demon.co.uk
  9. X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
  10. Lines: 56
  11. Date: Tue, 22 Dec 1992 22:12:44 +0000
  12. Message-ID: <725062364snz@chrism.demon.co.uk>
  13. Sender: usenet@demon.co.uk
  14.  
  15. In article <1992Dec22.095037.25822@cuug.ab.ca> mcneillb@cuug.ab.ca writes:
  16.  
  17. >I have a problem concerning printing in Landscape mode in
  18. >Windows 3.1 in a program that I am writing with Borland C++
  19. >version 3.1.  What is frustrating about this is that
  20. >everything works when I print Portrait mode but nothing
  21. >prints under Landscape mode (Laserjet IIIsi or Roland 9
  22. >pin).  I'm under the impression that there is no difference
  23. >in my code for Portrait and Landscape modes since windows
  24. >handles the print orientation.  Could I be wrong??  It
  25. >wouldn't be the first time!  I have tried some other source
  26. >code (DLGDEMO4 from PC-Magazine July 1992 by Ray Duncan, for
  27. >example) and have found that these programs also fail to
  28. >print in Landscape mode.
  29. >
  30. >If I use landscape mode the window does not refresh from the
  31. >print dialog box and the program hangs on the EndPage
  32. >function until I cancel the print job.  Nothing is sent to
  33. >the printer.  Something is sent to the Print Spooler (a
  34. >StartDoc or StartPage) but no record of anything to
  35. >physically print.  If I click anywhere other then the cancel
  36. >print job button in my abort print dialog, I might have to
  37. >cntrl-alt-del the program to kill it.  I know that my
  38. >printer works with Landscape mode since NotePad and other
  39. >applications print Landscape mode just fine.  Could my
  40. >problem be something that I'm missing or could it be some
  41. >undocumented function or what?  
  42. >
  43. >Any help would be greatly appreciated.
  44. >
  45. >Blake McNeill
  46. >
  47. >@cuugnet.cuug.ab.ca
  48. >
  49. >Does a psychic's phone ever ring??
  50. >
  51. >
  52. >
  53.  
  54. Sounds like a bug in your printer driver?  Why not try installing another
  55. printer driver - one of the well-known ones such as PostScript or HP
  56. LaserJet - and see if the problem still occurs.  Set the printer port to
  57. "file" if you don't actually have another printer.
  58.  
  59. BTW, I've written lots of Windows software that does landscape-mode
  60. printing, and it all works fine!
  61.  
  62. Chris
  63. -- 
  64. --------------------------------------------------------------------------
  65. | Chris Marriott                           | chris@chrism.demon.co.uk    |
  66. | Warrington, UK                           | BIX: cmarriott              |
  67. | (Still awaiting inspiration              | CIX: cmarriott              |
  68. |  for a witty .sig .... )                 | CompuServe: 100113,1140     |
  69. --------------------------------------------------------------------------
  70.  
  71.