setPrintJobProperty problem
- Posted by Andy Drummond <andy at kest?elt?le.com> Oct 26, 2007
- 673 views
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) 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