Assign Printers Based on Group Membership

Assigns printer resources based on group membership.

 
 
 
 
 
5 Star
(2)
Add to favorites
Printing
8/10/2009
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • How would you base it on user name?
    2 Posts | Last post May 04, 2011
    • Thanks for this script.  It looks like it is going to work well for our group assignments of printers.  However, what if I wanted to assigned a printer to a specific user?  How could I modify this to accommodate this?  Thanks.
    • Nevermind, I figured it out.  In the group membership section I added this modified code and replaced the username, servername and printer names:
      
      	if LCase(strUser) = "username" Then
      	objNetwork.AddWindowsPrinterConnection "\\SERVERNAME\Printer"
      	if localPrinter = false Then
      	objNetwork.SetDefaultPrinter "\\SERVERNAME\Printer"
      	end if
      	end if