Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry
RESOLUTION
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
To resolve this issue, use one or more of the
following methods to determine which LPR port is corrupted. Then, delete
the corrupted port.
Method 1
Try to locate and delete the corrupted LPR port.
Note The last port that is listed in Print Manager
may give you an idea of where to look for the corrupted
port.
- Start Registry Editor (Regedt32).
- Make a backup of the following LPR port registry key so that when
you determine which port is corrupted, you can restore the key and just delete
the corrupted port.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\LPR\Ports
- Look for a corrupted port name in this
registry key.
- If you locate a corrupted port name, delete the
port.
- Quit Registry Editor.
Method 2
If you cannot identify a corrupted port name, or if no
ports are listed, try to identify the corrupted port by deleting the ports
one at a time, stopping and restarting the spooler every time to see whether the
ports reappear. After you identify the corrupted port, restore the LPR port
registry key that you backed up and saved, and then delete the corrupted
port.
Method 3
If you still cannot identify the corrupted port, verify the
validity of the ports that the printers are configured to print to. To do this, follow these steps:
- Start Registry Editor.
- Locate the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\<printer_name>
- Verify that the printers are configured to print to a
valid LPR port, not to a universal naming convention (UNC) print share name such as
\\server_name\printer_share. If a printer is configured to print to a UNC
share name, and you can determine which LPR port the printer is supposed to
print to, that LPR port may be the cause of the problem.
- Quit Registry Editor.
Method 4
If you cannot identify the corrupted LPR port, delete all the LPR ports. Then, re-create them manually in Print Manager.