I have a script which adds printers based on AD groups, I seem to remember that I could add exceptions so that certain members of the group would not get the default printer.I could then set there default printer to another one from the list , but I cannot remember how to do this please help, thanks, Shane.
; ------------------------------------------------------------------ ;Map Printer ; ------------------------------------------------------------------ If InGroup("All_Staff") AddPrinterConnection("\\$PRINTSERVER\Classroom Color") AddPrinterConnection("\\$PRINTSERVER\Reception B&W Double Sided") AddPrinterConnection("\\$PRINTSERVER\Reception Printer HP Universal Printing PCL 5") AddPrinterConnection("\\$PRINTSERVER\Reception HP Universal Printing PCL 6 (v5.0)") AddPrinterConnection("\\$PRINTSERVER\Reception HP Color LaserJet CM6030 MFP PCL 6 new driver") SetDefaultPrinter("\\$PRINTSERVER\Reception Printer HP Universal Printing PCL 5") Endif
|