Hi,
I would try this:
[list=1]
[*] use getPrinter to retrieve the printer settings into a PRINTER_INFO_2 structure
[*] modify the orientation inside that structure (the orientation is a member of the DEVMODE which is a member of PRINTER_INFO_2
[*] use setPrinter
[/list]
and then print whatever you want to print...
have fun
Geniuzzz