We help IT Professionals succeed at work.

Change Printer in code and back again.

DickSwart6 asked
Last Modified: 2010-04-30
I want to create a form (Settings) where the user select a printer for printing tickets 'Dot matrics' and a printer for printing reports, I want the user to select the printers from a list of all the printers that is available for the pc. Then save the settings of the user in a database (MySQL). In code I want to look at what printers is selected for what user and print to the correct printers. I don't want to change the users default printer. If I have to change it it will have to be set back to the original default printer when the application closes?
Watch Question

IT Director
This one is on us!
(Get your first solution completely free - no credit card required)
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.