Gazzo Posted December 10, 2003 Posted December 10, 2003 Hi can anybody help please? How can I change the printer settings i.e. change the printing preferences to print on both sides. I want to do this so when I go into the Printers and Faxes window I can see the changes that I have made. I can successfully loop through my printers on my system and change the Duplex property to Duplex.Vertical but this change is not persisted. Any idea? Cheers, Gazzo Quote
*Experts* Merrion Posted December 10, 2003 *Experts* Posted December 10, 2003 Printer settings are pretty much thread specific - in normal operation setting the number of settings in a MS Word session will not change the settings if I print out from Explorer. To change the printer settings "globally" requires use of the API. Quote Printer Monitor for .NET? - see Merrion Computing Ltd for details
Gazzo Posted December 10, 2003 Author Posted December 10, 2003 Yeah, thats what I need to do, have you any idea which API I can use to do this? Quote
*Experts* Merrion Posted December 10, 2003 *Experts* Posted December 10, 2003 I think if you use AdvanceDocumentProperties to change the DEVMODE that should take effect system-wide. I have done this to set the number of copies syustem wide in VB6... Quote Printer Monitor for .NET? - see Merrion Computing Ltd for details
Gazzo Posted December 10, 2003 Author Posted December 10, 2003 Okay, well that's totally lost me now. I think I'll give up on this one. Thanks for your help Merrion. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.