Adding new printer ports...

G

Guest

Is there any way to add new printer ports programmatically?

For example, I'd like to be able to create a batch file on my server that
will automatically add all the printer ports throughout the facility (we do
IP printing) and then (if possible) install the appropriate printer driver to
the respective port.

1. Add new port "acctglsr" (DNS says = 10.20.30.40)
2. Install HPLJ5 driver using the acctglsr port

Is this possible? Is any part of it possible? Just trying to automate some
things.

Thanx.
 
A

Alan Morris [MSFT]

prnport.vbs in system32 for Standard TCP/IP ports.

On XP specify whether the port is raw or lpr mode if you are running server
2003 you can specify the hostname and the port will auto config using
settings in tcpmon.ini.

prndrvr.vbs to install signed drivers

prnmngr.vbs to install the printer

prncnfg.vbs to share and configure the printer.

--
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top