Print script problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all
I am using a visual basic script to map the printers when the user logs on.
basicall the following commands run :
sPrintPath = "\\gsbgd2\gal4050ps"
oNetwork.AddWindowsPrinterConnection sPrintPath
oNetwork.SetDefaultPrinter sPrintPath

Is there a way I can map more than one printer using this script or
something else.
Thanks again.
 
set oNet = CreateObject("WScript.Network")
oNet.AddWindowsPrinterConnection "\\server\share"
oNet.AddWindowsPrinterConnection "\\server\share"

you can just keep adding them in from there on out!

Philip Nunn
 
Back
Top