I need to change a Printers orientation setting. I've tried using the VB Printer object with no success.

Which API should I use to change a printers orientation setting?

Thanks in advance