Automatically creating TCP/IP printer ports on W2K

K

Kyle Kilback

I have a bunch of printers that I need to install on a
Windows 2000 print server. I plan to use the "rundll32
printui.dll,PrintUIEntry" command to create these
printers. The problem is, that I don't have the TCP/IP
ports setup. I've tried using the REG ADD command line
tool, but the key name "Standard TCP/IP Port" causes a
problem due to the "/" in TCP/IP (the key is created
as "Standard TCP"). Is there another way to create these
ports (not manually one by one) or a fix for this problem?

thanks,
Kyle
 
W

Walter Schulz

I have a bunch of printers that I need to install on a
Windows 2000 print server. I plan to use the "rundll32
printui.dll,PrintUIEntry" command to create these
printers. The problem is, that I don't have the TCP/IP
ports setup. I've tried using the REG ADD command line
tool, but the key name "Standard TCP/IP Port" causes a
problem due to the "/" in TCP/IP (the key is created
as "Standard TCP"). Is there another way to create these
ports (not manually one by one) or a fix for this problem?

reg add "HKLM\SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard
TCP/IP Port\Ports\1234567988"

Ciao, Walter
 
G

Guest

As I mentioned in the post, this only creates the key
called "Standard TCP" (instead of "Standard TCP/IP
Port"). The "/" in TCP/IP is messing up the command.
-----Original Message----- problem?

reg
add "HKLM\SYSTEM\CurrentControlSet\Control\Print\Monitors\
Standard
 
W

Walter Schulz

As I mentioned in the post, this only creates the key
called "Standard TCP" (instead of "Standard TCP/IP
Port"). The "/" in TCP/IP is messing up the command.

I don't have the problems described by you. Which version of REG.EXE
do you use?

Ciao, Walter
 

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