Adding printers scriptically

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi;

I have to add about 30 printers to a print server running Server 2003. Is
there a Resource Kit tool I can use to do so?
I seem to remember that I had to add a port first and then a printer.
Is that still the case and what are to tools to use?

TIA, Ben
 
Hi,

use this command.

rundll32 printui,PrintUIEntry /if /z /q /b "Printer
Name" /f"oemsetup.inf" /r "FILE:" /m "Printer Name"

Insted of File use required port.
Hth,
 
Hi,
Use this command line tool.


rundll32 printui,PrintUIEntry /if /z /q /b "Printer
Name" /f"oemsetup.inf" /r "LPT1:" /m "Printer Name"

Insted of LPT1 use required port.
 
Back
Top