Tech Support > Operating Systems > Windows 2003 > Assigning printers
Assigning printers
Posted by Stuart on November 18th, 2003


Is there a way to assign a printer in active directory
that allows for the printer to be downloaded when the
client logs on.
Example
Create printer on server-printera
I want Joe Smith to use printera
Can I assign/publish printer to Joe Smith so that when he
logs in the printer installs-so I don't need to go to
workstation to install printer-Simular to NDPS printing.

Posted by Johan Arwidmark on November 18th, 2003


You could use a logon script...

' Install network printer depending on user
Set objwshNetwork = CreateObject("WScript.Network")

Select Case objwshNetwork.Username

Case "Joe Smith"

objwshNetwork.AddWindowsPrinterConnection "\\Server\PR001"
objwshNetwork.AddWindowsPrinterConnection "\\Server\PR002"
objwshNetwork.SetDefaultPrinter "\\Server\PR002"

Case "Mr Andersson"

objwshNetwork.AddWindowsPrinterConnection "\\Server\PR003"
objwshNetwork.AddWindowsPrinterConnection "\\Server\PR004"
objwshNetwork.SetDefaultPrinter "\\Server\PR003"

End Select


regards
Johan Arwidmark

Windows User Group - Nordic
http://wug.lutteman.se


On Tue, 18 Nov 2003 10:51:04 -0800, "Stuart"
<anonymous@discussions.microsoft.com> wrote: