deleting a network printer and scripting

G

Guest

I have a small Lan with the following setup win2000 AD and 25 win2000
clients. I want to run a script that will delete any printer(s) that is
installad on the client machine then install a network printer with printer
quality down to 300dpi (medium) instead of 600 dpi(high). Each client is
setup to print directly to the printer via Tcp/IP printing ( Hplaser4000 on
por IP_192.168.1.250) which is why I want to delet it from the client profile
and direct the spooling to a printserver.I was able to get part of scripting
right ,where the client can logon to the network and install and setup Lab as
a default printer on the fly.However, I did not know how to configure print
quality nor how to delete the other printer. Can someone check and modify the
following script . Thanks

Set objNetwork = CreateObject("Wscript.Network")
objNetwork.AddWindowsPrinterConnection "\\Main\lab"
objNetwork.SetDefaultPrinter "\\main\lab"
Set objPrinter = GetObject("WinNT://main/lab")
objPrinter.SetInfo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top