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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Local Printer Offline/Online Script

Status
Not open for further replies.

jgus

Technical User
Aug 3, 2001
15
US
Is there a way through a registry change or script to change a local printer from online to offline? I'm not talking about setting a default printer, what I am referring to is when you have a local printer you can right click on it and select "use printer offline/online".
 
Gret question. I did some digging thinking this would make a nice script for me to write. Microsoft has already provided one within Windows XP. prncnfg.vbs.

There is also a DLL you can use called Prnadmin.dll that looks liek it would do what you want but you must install this DLL. Take a look at this link.

I hope you find this post helpful.

Regards,

Mark
 
I think this will do the trick for me. Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top