alphaphaedrus
asked on
Printer script for making default printer
I'm currently having problems pushing out a .vbs to add and make a network printer (PTR-QCM) the default printer. Can someone advise me on any faulty code for this file so I can push it out to my end users? The script is as follows:
Set WshNetwork = CreateObject("WScript.Netw ork")
WshNetwork.SetDefaultPrint er "\\servername\PTR-QCM"
msgbox"Your printer has been updated."
Thank you
Set WshNetwork = CreateObject("WScript.Netw
WshNetwork.SetDefaultPrint
msgbox"Your printer has been updated."
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
also check http://emoreau.com/Entries/Articles/2005/03/Setting-Windows-default-printer.aspx