Ok, after trashing my system and the computer, I'm ready to try again.
A while ago I asked for code to change the page orientation. I was given some code here:
I tested the above code on an HP and it worked fine (so I awarded points). After which I tried it on the actual printer I would use (a Zebra Label printer) and the code trashed everything so bad I had to remove and reinstall the printer in the Start/Settings/Printers list.
The Zebra Label printer does support landscape printing. I can change the orientation in the printer's properties and print a test page and everything works well. But I need to do this within code.
As before I can't using the Printers collection because I cannot gaurantee that the target machine(s) will have the Zebra printer in their collection.
Any ideas on some working code?