Microsoft KB Archive/269431

= When You Try to Print, Error Message Says 'Network Name Cannot Be Found' =

Article ID: 269431

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Server 4.0 Standard Edition

-



This article was previously published under Q269431



SYMPTOMS
When you attempt to print to a printer connected to a local port, you may receive the following error message:

Error writing to &quot;printer_port&quot;: for document &quot;document_name:&quot; The network name cannot be found.



CAUSE
This behavior can occur when the local printer port is mapped as a network drive.



RESOLUTION
To resolve this issue, delete the relevant key in the registry.



MORE INFORMATION
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.


 * 1) Start Registry Editor (Regedt32).
 * 2) Navigate to the following registry location:


 * 1) Select the printer port (LPT or COM port) that is mapped as a network drive.
 * 2) Click Edit, and then click Delete. When you are prompted to confirm deletion of the registry key, click Yes.
 * 3) Quit Registry Editor, and then restart the computer.

Keywords: kbprb KB269431

-

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

© Microsoft Corporation. All rights reserved.