Re: setPrintJobProperty problem

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu