I am using the following part of our logon script (VBS) to try and map some printers to some Win 98 machines. I keep getting an error stating that the printer driver is unknown. It is probably something very simple yet I seem to be overlooking it. Any help would be great.
Thanks.
' On Windows 95/98 Machines:
strPrinterPath = "\\nhsprint\isdp-hp8000N"
strDriverName = "HP LaserJet 8000 Series PCL 5e"
Set WshNetwork = CreateObject("WScript.Network"
WshNetwork.AddWindowsPrinterConnection strPrinterPath, strDriverName
Thanks.
' On Windows 95/98 Machines:
strPrinterPath = "\\nhsprint\isdp-hp8000N"
strDriverName = "HP LaserJet 8000 Series PCL 5e"
Set WshNetwork = CreateObject("WScript.Network"
WshNetwork.AddWindowsPrinterConnection strPrinterPath, strDriverName