User Guide

IP discovery and rediscovery
This document discusses the features that function correctly and those that don't through the IP
discovery and rediscovery process for the HP Color LaserJet CM1015 MFP/CM1017 MFP. Topics:
Print and HP ToolboxFX
Scan driver
ScanTo application
Print and HP ToolboxFX
When the HP Color LaserJet CM1015 MFP/CM1017 MFP is installed, the HP Port Monitor is installed
and the device’s IP address is entered in the following registry key: HKEY_LOCAL_MACHINE\SYSTEM
\CurrentControlSet\Control\Print\Monitors\HP Standard TCP/IP Port\Ports\<port_name>\IPAddress,
where <port_name> is the name of the port that the printer driver was installed to. This port monitor
periodically checks for changes to the device’s IP address by using the Rediscovery library, hpzjrd01.dll.
If a change is detected the registry entry is updated with the correct IP address. Both the Printer Driver
and HP ToolboxFX use the IP address in this registry key to establish communication to the device.
NOTE Print and HP ToolboxFX rediscovery occurs only if the computer and the HP Color
LaserJet CM1017 MFP are on the same subnet mask.
Scan driver
When the HP Color LaserJet CM1017 MFP is installed, the Scan co-installer determines what the IP
address or hostname of the device is and writes this information to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{6BDD1FC6-810F-11D0-
BEC7-08002BE2092F}\0000\DeviceData\PortID. If the hostname can be obtained, it is written to this
location; otherwise the IP address is written. The scan driver uses this value to establish a connection
to the device.
Installed using hostname. If the hostname is written to the PortID registry key, when the device’s
IP address changes, this registry value does not change. It may take quite a bit of time for the
network routing tables to update the DNS servers with the new IP address for this hostname.
Scanning is rendered inoperable while the DNS servers are being updated.
Installed using IP address. If the IP address is written to the PortID registry key, when the device’s
IP address changes, the registry value will only update if a scan had previously been performed.
Otherwise the user must either edit this value manually or run the FixScan utility to update this
value. Once a scan has been successfully completed, a registry key under the path listed above,
named PortData, will appear. This is a binary value which contains the MAC address as well as
some other data. If this key is present and the device’s IP address does change, the time the user
attempts a scan, the scan driver will initially use the PortID value to communicate with the device.
This will fail, but PortData value will be passed to the Rediscovery library, hpzjrd01.dll, to obtain
the new IP address. Once the new IP address is obtained, it is written to the PortID registry key.
The FixScan utility can be found on the HP Color LaserJet CM1015 MFP/CM1017 MFP software
CD in the following location.
<CD Drive>:\util\CCC
286 Chapter 7 Engineering Details ENWW
Engineering Details