Microsoft KB Archive/250209

= Printing to an LPR port is unsuccessful and printer ports are missing =

Article ID: 250209

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Server
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Server 3.51

-



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



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



CAUSE
This problem can occur when an LPR port is corrupted.



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.

 Look for a corrupted port name in this registry key. If you locate a corrupted port name, delete the port. Quit Registry Editor.</ol>

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: <ol> Start Registry Editor.</li> Locate the following registry key:

</li> 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.</li> Quit Registry Editor.</li></ol>

Method 4
If you cannot identify the corrupted LPR port, delete all the LPR ports. Then, re-create them manually in Print Manager.

Keywords: kbprb KB250209

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.