Re: setPrintJobProperty problem
- Posted by Bernie Ryan <xotron at b?uefrog.com> Oct 30, 2007
- 614 views
Andy Drummond wrote: > Interestingly, if you call setPrinterJobProperty() and set the orientation > to lanscape in there, and then call getPageSetup(), that latter routine > shows the orientation as landscape. Pressing OK makes it print landscape. > > If you hit cancel instead, even though it showed landscape, it prints > portrait. > It looks as if setting the orientation has set the input to getPageSetup() but > that the result of that routine still defaults to the default page setup, i.e. > portrait. It is very strange. > AndyD: It seems to me that is the way it should work; if you cancel the page setup then it should return to the previous page setting. Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan