This article was previously published under Q250209
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
When you try to print to a printer by using a line print remote (LPR) port, the job may not be printed. When you view the printer properties and examine the list of ports, some or all the printer ports may be missing.
This problem can occur when an LPR port is corrupted.
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.
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.
Look for a corrupted port name in this registry key.
If you locate a corrupted port name, delete the port.
Quit Registry Editor.
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.
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:
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.
If you cannot identify the corrupted LPR port, delete all the LPR ports. Then, re-create them manually in Print Manager.