Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to set a default printer in code

Status
Not open for further replies.

jmilne

Technical User
Dec 10, 2002
4
GB
I am an Trainee IT Officer who is learning to use Visual Studio.NET (VB mainly).

I have been asked to write a module which will take a printer name string as a parameter and use it to set the user's default printer. I have looked everywhere in the help, on web sites etc and have found no answer. My senior does not want me to use the API. Someone said to use System.Management namespace but not how. Can you help with a bit more detail?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top