Have you ever wanted to change printer properties like duplex mode or the printer tray programmatically? I have a program available in a file called SetPrtProps.zip available for download from my site at
www.peisch.com/downloads.html that can do this for you. It comes with a sample program of how to call the class that changes the orientation, paper tray, number of copies and duplex mode.
Please note: This program requires VFP 9.
I'd really love to get some feedback on this.