Re: setPrintJobProperty problem
- Posted by CChris <christian.cuvier at agricul?ure.gouv?fr> Oct 26, 2007
- 627 views
Andy Drummond wrote: > > Back to printing problems. > I can open the default printer and print to it with no worries. > I had to declare printerDC to be global in w32Resources.ew, that was OK. > I'm now trying to change the print orientation using: > > setPrintJobProperty(JP_Orientation, DMORIENT_LANDSCAPE) > This just works for me, using a laser printer under WinXP Home. Strange... Try calling it before getPrinter() perhaps. CChris > but I get no change in the output. > Can anyone advise me on this? I tried calling the function immediately after > assigning printerDC, and also after calling startDoc & startPage; still no > go. > If I still have to go to printer setup to do this then I might as well not be > opening the default printer.... > > AndyD