P
Peter Loerns
Hi, we are a using the below script which loads network printers in
one of our classrooms at our school. I want to add a line that deletes
all installed printers first before it installs the specified ones
below. This script was written for us by someone else and not being a
VB person, I am lost. Any help gratefully appreciated
Dim net
Set net = CreateObject("WScript.Network")
net.AddWindowsPrinterConnection "\\wpadmin\Colour_Laser"
Set net = CreateObject("WScript.Network")
net.AddWindowsPrinterConnection "\\wpadmin\ICT1_Laser"
Set net = CreateObject("WScript.Network")
net.SetDefaultPrinter "\\wpadmin\ICT1_Laser"
one of our classrooms at our school. I want to add a line that deletes
all installed printers first before it installs the specified ones
below. This script was written for us by someone else and not being a
VB person, I am lost. Any help gratefully appreciated
Dim net
Set net = CreateObject("WScript.Network")
net.AddWindowsPrinterConnection "\\wpadmin\Colour_Laser"
Set net = CreateObject("WScript.Network")
net.AddWindowsPrinterConnection "\\wpadmin\ICT1_Laser"
Set net = CreateObject("WScript.Network")
net.SetDefaultPrinter "\\wpadmin\ICT1_Laser"