TCP/IP printer ports

F

Frank M

I install an hp4600 correctly; prints ok.
Upon reboot the TCP/IP port is gone; the driver is still
installed and shows up on the printers folder, but the
print jobs go nowhere (no error messages). Can add the
port again by using the add port button, and then
everything works ok.
What should I check to maintain the TCP/IP ports over a
reboot/restart.

cheers,
Frank
 
A

Alan Morris\(MSFT\)

If the port goes away if you stop and restart the Print Spooler service,
there is most likely some registry corruption in the port monitor
information.

When the spooler starts up it reads the port information starting with the
first portname. It continues until there are no more names then enumerates
the next port monitor.

check
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Monitors.

examine the port monitors under whichever TCP/IP port you are using (the one
that is installed by Windows is the Standard TCP/IP Port monitor).



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

Frank M

Would having two ports that are inaccessible (subnet
disconected) in the port list before the new existing
ports cause the spooler to stop loading the port
information when it starts?
May be a bug in the spooler; it should drop the
inaccessible port and continue on the list of ports.

cheers,
Frank
-----Original Message-----
If the port goes away if you stop and restart the Print Spooler service,
there is most likely some registry corruption in the port monitor
information.

When the spooler starts up it reads the port information starting with the
first portname. It continues until there are no more names then enumerates
the next port monitor.

check
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\ Monitors.

examine the port monitors under whichever TCP/IP port you are using (the one
that is installed by Windows is the Standard TCP/IP Port monitor).



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

"Frank (e-mail address removed)"
 
F

Frank M

Confirmed observation. Got rid of the unreachable ports
(exported the reg entry and deleted) and restarted the
spooler and the other ports got added correctly. Put the
other unreachable port in - before the good port -
restarted the spooler and the real port info is not read.

Seems like a bug in the spooler when reading the port
info, or the Monitors in the CurrentControlSet - not sure
how they work.

cheers,
Frank
-----Original Message-----
Would having two ports that are inaccessible (subnet
disconected) in the port list before the new existing
ports cause the spooler to stop loading the port
information when it starts?
May be a bug in the spooler; it should drop the
inaccessible port and continue on the list of ports.

cheers,
Frank
-----Original Message-----
If the port goes away if you stop and restart the Print Spooler service,
there is most likely some registry corruption in the
port
monitor
information.

When the spooler starts up it reads the port information starting with the
first portname. It continues until there are no more names then enumerates
the next port monitor.

check
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print
\
Monitors.

examine the port monitors under whichever TCP/IP port
you
are using (the one
that is installed by Windows is the Standard TCP/IP Port monitor).



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

"Frank (e-mail address removed)"
.
 
A

Alan Morris\(MSFT\)

Unreachable ports do not matter at all as long as the registry configuration
is valid.

What are some of your port names? What is the name of the port monitor and
what is the Driver value for the monitor? The spooler will read the
properly formatted port information when initializing the port structures.
If the data is not structured properly the spooler will discard it rather
than terminate due to incorrect data.

The spooler reads the data sequentially as it is listed in the registry. If
only some of the ports are listed, note the last one you can see in the
Printers folder, Server Properties, Ports UI, then check the next port in
the registry list for corruption.

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

Frank [email protected] said:
Confirmed observation. Got rid of the unreachable ports
(exported the reg entry and deleted) and restarted the
spooler and the other ports got added correctly. Put the
other unreachable port in - before the good port -
restarted the spooler and the real port info is not read.

Seems like a bug in the spooler when reading the port
info, or the Monitors in the CurrentControlSet - not sure
how they work.

cheers,
Frank
-----Original Message-----
Would having two ports that are inaccessible (subnet
disconected) in the port list before the new existing
ports cause the spooler to stop loading the port
information when it starts?
May be a bug in the spooler; it should drop the
inaccessible port and continue on the list of ports.

cheers,
Frank
-----Original Message-----
If the port goes away if you stop and restart the Print Spooler service,
there is most likely some registry corruption in the
port
monitor
information.

When the spooler starts up it reads the port information starting with the
first portname. It continues until there are no more names then enumerates
the next port monitor.

check
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print
\
Monitors.

examine the port monitors under whichever TCP/IP port
you
are using (the one
that is installed by Windows is the Standard TCP/IP Port monitor).



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

"Frank (e-mail address removed)"
message I install an hp4600 correctly; prints ok.
Upon reboot the TCP/IP port is gone; the driver is still
installed and shows up on the printers folder, but the
print jobs go nowhere (no error messages). Can add the
port again by using the add port button, and then
everything works ok.
What should I check to maintain the TCP/IP ports over a
reboot/restart.

cheers,
Frank


.
.
 
F

frank m

The driver value for the tcp/ip monitor is: tcpmon.dll

This is the reg structure that was causing problems:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\
Monitors\Standard TCP/IP Port\Ports]
"StatusUpdateInterval"=dword:0000000a
"StatusUpdateEnabled"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\
Monitors\Standard TCP/IP Port\Ports\IP_17.7.1.1]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\
Monitors\Standard TCP/IP Port\Ports\IP_172.17.1.1]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\
Monitors\Standard TCP/IP Port\Ports\IP_172.17.1.1
\TCB_Printer]
"Protocol"=dword:00000001
"Version"=dword:00000001
"HostName"=""
"IPAddress"="172.17.1.1"
"HWAddress"=""
"PortNumber"=dword:0000238c
"SNMP Community"="public"
"SNMP Enabled"=dword:00000000
"SNMP Index"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\
Monitors\Standard TCP/IP Port\Ports\IP_172.18.3.21]
"Protocol"=dword:00000001
"Version"=dword:00000001
"HostName"=""
"IPAddress"="172.18.3.21"
"HWAddress"=""
"PortNumber"=dword:0000238c
"SNMP Community"="public"
"SNMP Enabled"=dword:00000001
"SNMP Index"=dword:00000001

notice the second last port entry has a sub-entry named
TCB_Printer. Not sure how this sub entry was added -
install disk or "Add Printer"

The last one was added using the "Add Printer" link.

cheers
Frank
-----Original Message-----
Unreachable ports do not matter at all as long as the registry configuration
is valid.

What are some of your port names? What is the name of the port monitor and
what is the Driver value for the monitor? The spooler will read the
properly formatted port information when initializing the port structures.
If the data is not structured properly the spooler will discard it rather
than terminate due to incorrect data.

The spooler reads the data sequentially as it is listed in the registry. If
only some of the ports are listed, note the last one you can see in the
Printers folder, Server Properties, Ports UI, then check the next port in
the registry list for corruption.

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

"Frank (e-mail address removed)"
message news:[email protected]...
Confirmed observation. Got rid of the unreachable ports
(exported the reg entry and deleted) and restarted the
spooler and the other ports got added correctly. Put the
other unreachable port in - before the good port -
restarted the spooler and the real port info is not read.

Seems like a bug in the spooler when reading the port
info, or the Monitors in the CurrentControlSet - not sure
how they work.

cheers,
Frank
-----Original Message-----
Would having two ports that are inaccessible (subnet
disconected) in the port list before the new existing
ports cause the spooler to stop loading the port
information when it starts?
May be a bug in the spooler; it should drop the
inaccessible port and continue on the list of ports.

cheers,
Frank
-----Original Message-----
If the port goes away if you stop and restart the Print
Spooler service,
there is most likely some registry corruption in the port
monitor
information.

When the spooler starts up it reads the port information
starting with the
first portname. It continues until there are no more
names then enumerates
the next port monitor.

check
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print
\
Monitors.

examine the port monitors under whichever TCP/IP port you
are using (the one
that is installed by Windows is the Standard TCP/IP Port
monitor).



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

"Frank (e-mail address removed)"
message I install an hp4600 correctly; prints ok.
Upon reboot the TCP/IP port is gone; the driver is still
installed and shows up on the printers folder, but the
print jobs go nowhere (no error messages). Can add the
port again by using the add port button, and then
everything works ok.
What should I check to maintain the TCP/IP ports over a
reboot/restart.

cheers,
Frank


.

.


.
 
A

Alan Morris\(MSFT\)

I would say that key is the culprit. Export (save) the
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard
TCP/IP Port\Ports]

key, then delete the IP_172.17.1.1\TCB_Printer port entry from the registry.
Then stop and start the Print Spooler service.

Create a few ports, and reboot.


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

frank [email protected] said:
The driver value for the tcp/ip monitor is: tcpmon.dll

This is the reg structure that was causing problems:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\
Monitors\Standard TCP/IP Port\Ports]
"StatusUpdateInterval"=dword:0000000a
"StatusUpdateEnabled"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\
Monitors\Standard TCP/IP Port\Ports\IP_17.7.1.1]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\
Monitors\Standard TCP/IP Port\Ports\IP_172.17.1.1]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\
Monitors\Standard TCP/IP Port\Ports\IP_172.17.1.1
\TCB_Printer]
"Protocol"=dword:00000001
"Version"=dword:00000001
"HostName"=""
"IPAddress"="172.17.1.1"
"HWAddress"=""
"PortNumber"=dword:0000238c
"SNMP Community"="public"
"SNMP Enabled"=dword:00000000
"SNMP Index"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\
Monitors\Standard TCP/IP Port\Ports\IP_172.18.3.21]
"Protocol"=dword:00000001
"Version"=dword:00000001
"HostName"=""
"IPAddress"="172.18.3.21"
"HWAddress"=""
"PortNumber"=dword:0000238c
"SNMP Community"="public"
"SNMP Enabled"=dword:00000001
"SNMP Index"=dword:00000001

notice the second last port entry has a sub-entry named
TCB_Printer. Not sure how this sub entry was added -
install disk or "Add Printer"

The last one was added using the "Add Printer" link.

cheers
Frank
-----Original Message-----
Unreachable ports do not matter at all as long as the registry configuration
is valid.

What are some of your port names? What is the name of the port monitor and
what is the Driver value for the monitor? The spooler will read the
properly formatted port information when initializing the port structures.
If the data is not structured properly the spooler will discard it rather
than terminate due to incorrect data.

The spooler reads the data sequentially as it is listed in the registry. If
only some of the ports are listed, note the last one you can see in the
Printers folder, Server Properties, Ports UI, then check the next port in
the registry list for corruption.

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

"Frank (e-mail address removed)"
message news:[email protected]...
Confirmed observation. Got rid of the unreachable ports
(exported the reg entry and deleted) and restarted the
spooler and the other ports got added correctly. Put the
other unreachable port in - before the good port -
restarted the spooler and the real port info is not read.

Seems like a bug in the spooler when reading the port
info, or the Monitors in the CurrentControlSet - not sure
how they work.

cheers,
Frank
-----Original Message-----
Would having two ports that are inaccessible (subnet
disconected) in the port list before the new existing
ports cause the spooler to stop loading the port
information when it starts?
May be a bug in the spooler; it should drop the
inaccessible port and continue on the list of ports.

cheers,
Frank
-----Original Message-----
If the port goes away if you stop and restart the Print
Spooler service,
there is most likely some registry corruption in the
port
monitor
information.

When the spooler starts up it reads the port information
starting with the
first portname. It continues until there are no more
names then enumerates
the next port monitor.

check

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print
\
Monitors.

examine the port monitors under whichever TCP/IP port
you
are using (the one
that is installed by Windows is the Standard TCP/IP Port
monitor).



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

"Frank (e-mail address removed)"
message I install an hp4600 correctly; prints ok.
Upon reboot the TCP/IP port is gone; the driver is
still
installed and shows up on the printers folder, but the
print jobs go nowhere (no error messages). Can add the
port again by using the add port button, and then
everything works ok.
What should I check to maintain the TCP/IP ports over a
reboot/restart.

cheers,
Frank


.

.


.
 

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