Hi All,
I have been told that I can add a network printer during the logon script. I believe the correct syntax is:
' vb script to add printers via login script
Set WshNetwork = CreateObject("WScript.Network"
PrinterPath = "\\vtserver2b\HP4MEngr"
PrinterDriver = "HP LaserJet 4M"
WshNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver
Do I put this directly in my logon script? Or do I have to create it as a VB Script and then call it from the batch file.
Thanks,
mot98
"Every day I learn something new, and forget 10 things I learned long ago!"
I have been told that I can add a network printer during the logon script. I believe the correct syntax is:
' vb script to add printers via login script
Set WshNetwork = CreateObject("WScript.Network"
PrinterPath = "\\vtserver2b\HP4MEngr"
PrinterDriver = "HP LaserJet 4M"
WshNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver
Do I put this directly in my logon script? Or do I have to create it as a VB Script and then call it from the batch file.
Thanks,
mot98
"Every day I learn something new, and forget 10 things I learned long ago!"