vb6 - changing printer settings
-
Someone pls tell me how to change the page orientation setting for a printer before sending a job to printer, and how to restore the setting after printing. i.e. i want to change the setting completely so i can even see it in control panel as the new setting. In vb6. Thanks. :rose::rose: 1fm1fu
-
Someone pls tell me how to change the page orientation setting for a printer before sending a job to printer, and how to restore the setting after printing. i.e. i want to change the setting completely so i can even see it in control panel as the new setting. In vb6. Thanks. :rose::rose: 1fm1fu
use the GetDeviceCaps API call to see if you can set the printer landscape. If so use the OpenPrinter API call to get a handle to the printer and pass this to the SetPrinter API call to change the settings. ..although rememeber that users don't really like you to change their settings system wide... '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd