Okay here's what I've got right now:
- A network printer installed on my box as a local printer
- I can click "Printing preferences" in control panel->printer and see the orientation and duplex settings
Now, I have a C++ program and I want to go into those printer settings and change htem so that the next time I go to the control panel, I see my changes.
The following does NOT work:
OpenPrinter(..)
DocumentProperties() to get current DEVMODE settings
Modify DEVMODE
DocumentProperties() to set the new DEVMODE settings
ClosePrinter(...)
I go to control panel and there are no changes.