Automatically creating TCP/IP printer ports on W2K

  • Thread starter Thread starter Kyle Kilback
  • Start date Start date
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
 
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
 
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
 
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
 
Back
Top