Question Locked

Printing Scripts with windows Vista

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a simple logon script for all my users. It basically maps them all to their user share and their various network shares dpending on their department. i also have some printer declerations in that logon. for Windows XP pro and back, works flawlessly, however, for Vista users, it wants to add the printer driver everytime they log in. I need to modify my script to either check for already installed printers and skip over them, or to force install the driver quietly so the user sees nothing. any scripting ideas? below is my syntax. Thanks.

Option Explicit
Dim multiPrinter, UNCpath1, UNCpath2, UNCpath3, UNCpath4, UNCpath5
UNCpath1 = "\\svr-ent\sales"
UNCpath2 = "\\svr-ent\EngHr"
UNCpath3 = "\\svr-ent\production"
UNCpath4 = "\\svr-ent\colorlsr"
UNCpath5 = "\\svr-ent\engprn1"
Set multiPrinter = CreateObject("WScript.Network")
multiPrinter.AddWindowsPrinterConnection UNCpath1
multiPrinter.AddWindowsPrinterConnection UNCpath2
multiPrinter.AddWindowsPrinterConnection UNCpath3
multiPrinter.AddWindowsPrinterConnection UNCpath4
multiPrinter.AddWindowsPrinterConnection UNCpath5
WScript.Quit
' End of Script

3 replies

by ryoung

Cpeevy,
Tried to email direct but you have direct contact blocked. I too have hit the same road block and it is becoming a major pain as our vendor forced us into Vista this year and every user is complaining about the install printer prompts. Were you able to find a work around in the scripting besides moving your print server into Longhorn Beta? Any help you could give would be huge as I have not seen much in the forums regarding this issue.
Thanks,
Ryan

by pv.consulting

Hi ryoung, unfortunatly, i have not found a solution. Fortunatly it only occurs with one of my older HP printers. I have tried using vista drivers on the print server (universal print driver), no luck there. Im almost to the point to where I am just going to replace the printer. Its an old HP laserjet 5 series. it has lived a long life. If i do find a solution, best believe I will post it. you should be able to email me just fine at cpeevy@actron-corona.com, unless your domain is blacklisted.

This discussion is closed to new replies.