PDA

View Full Version : Adding / removing printers from the command line


The Nr Fairy
20th June 2002, 13:13
What I need is a utility which will allow me to remove and add printers via the command line, achieving the same effect as using the "Start -> Settings -> Printers -> Add Printer" wizards.

Any ideas ? "net" doesn't work for printers.

What_does_this_button_do?
20th June 2002, 18:21
yes it does!

If my server is called manemc01 and my printer is hplj1100 the command will be:

net use lpt1: \\manemc01\hplj1100

B

The Nr Fairy
21st June 2002, 12:05
Excellent. Learned something.

Now, how do you get the printer to appear in the list of printers off "Start -> Setting -> Printers".

If you use LPT1: or Ne00: or that style of port, doesn't appear.

Any more clues ?

What_does_this_button_do?
21st June 2002, 13:53
you need this then! (http://www.jsifaq.com/SUBA/tip0400/rh0458.htm)

The Nr Fairy
21st June 2002, 15:03
Triffic - thanks for that !