Installing network printer through batch file

  • Thread starter Thread starter Eric Dreksler
  • Start date Start date
E

Eric Dreksler

Hello all,

I'm looking to see if I can install an IP Port printer through a batch file.

Long story, short. Half of our office prints throug a Cannon ir5000i, w/
the print queue on the network (so they all already have the driver
installed). They are moving to a new office w/ a new subnet. I have a
batch file I've written to speed up the network protocols change over, and
would like to be able to tackle the printer as well. Also, the clients will
now print directly through the Cannons internal print server, so I need to
configure them as IP Ports.

Can this be done? Any suggestions?

Thanks In Advance,
Eric James Dreksler
 
Thanks Alan. I'll see about getting this added to the Printing FAQ.

--
Bruce Sanderson MVP

It is perfectly useless to know the right answer to the wrong question.


Alan Morris(MSFT) said:
in \windows\system32 there is prnport.vbs use this to create the port.

You can also use prndrvr and prnmngr to add the driver and printer

works on XP and above.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no
rights.

Bruce Sanderson said:
I'm not aware of a way to create a Standard TCP/IP printer port via script,
but you might want to see if the Print Migrator tool at
http://www.microsoft.com/downloads/...25-cbc9-44da-b2c9-ffdbc46b0b17&DisplayLang=en
is any help.
 
Back
Top