missupport1
MIS
Hello,
I have a little script to add the networkprinters on our clients. The strange thing is that the printers are configured on the server with the setting, default paper size A4, but when the printer is installed on the client, this settings is put to "Letter".
is there a way to specify this in the script?
This is the script:
Set WshNetwork = CreateObject ("WScript.Network")
on error resume next
PrinterPath = "\\server1\HP 1320 COMPTA"
WshNetwork.RemovePrinterConnection PrinterPath, true, true
WshNetwork.AddwindowsPrinterConnection (PrinterPath)
WshNetwork.SetDefaultPrinter("\\server1\HP 1320 COMPTA")
Thank you in advance.
I have a little script to add the networkprinters on our clients. The strange thing is that the printers are configured on the server with the setting, default paper size A4, but when the printer is installed on the client, this settings is put to "Letter".
is there a way to specify this in the script?
This is the script:
Set WshNetwork = CreateObject ("WScript.Network")
on error resume next
PrinterPath = "\\server1\HP 1320 COMPTA"
WshNetwork.RemovePrinterConnection PrinterPath, true, true
WshNetwork.AddwindowsPrinterConnection (PrinterPath)
WshNetwork.SetDefaultPrinter("\\server1\HP 1320 COMPTA")
Thank you in advance.