Add a Network Printer

Installs a network printer at logon. The script determines if the user has this printer installed already; if they do, then the script exits. If the printer is not installed th

 
 
 
 
 
3.1 Star
(7)
Add to favorites
Printing
8/10/2009
E-mail Twitter del.icio.us Digg Facebook
  • one small error
    3 Posts | Last post April 11, 2013
    • Change
          If objPrinter.ServerName = Null And_ 
           objPrinter.Name <> "Microsoft Office Document Image Writer" Then 
      TO
          If objPrinter.ServerName = Null And _ 
           objPrinter.Name <> "Microsoft Office Document Image Writer" Then 
      
      After that change it works on my Windows 2k3 servers and my XP clients
    • I appreciate the comments throughout! Works good 
    • line: 41
      char34
      Expected 'then'