yup good one, just found out about the script method, well cool!
one question, what about drivers for the printer? would be cool if this would work on NT/2000 and XP clients.... am sure the XP machines will just use the 2003 server drivers.... but what about the other computers?
check out this script, it lets u decide by a naming convention which computers get which printers... pretty nifty!? It uses the first 3 characters of the compuer name to define the location of the computer!!
Code:
Set Network = CreateObject("Wscript.Network")
compname = network.computername
room = left(compname,3)
? ?
Select Case room
? ? ? ? ? Case "D29"
? ? ? ? Network.AddWindowsPrinterConnection "\\server1\D29Laser"
? ? ? ? Network.SetDefaultPrinter "\\server1\D29Laser"
? ? ? ? ? Case "D28"
? ? ? ? Network.AddWindowsPrinterConnection "\\server1\D28Laser"
? ? ? ? Network.SetDefaultPrinter "\\server1\D28Laser"
case else
End Select