You are currently offline, waiting for your internet to reconnect

Some Error Messages When Printing in Windows

This article was previously published under Q121074
This article has been archived. It is offered "as is" and will no longer be updated.
When you try to connect to a printer shared by a Windows computer, one of the following errors may appear when you enterthe network path or port name:
\\servername\sharename is an invalid port name
Could not connect to the printer: The system cannot find the file specified
Test Page failed to print. Would you like to view the print trouble shooter for assistance? The filename, directory name, or volume label syntax is incorrect.
Test page failed to print. Would you like to view the print trouble shooter for assistance? Unable to create a print job.
Could not start print job.
A StartDocPrinter call was not issued.
These messages are erroneous and occur if the Windows printer share is password protected. If you attempt toconnect to the share by running a NET USE from the command line, you receivethis (correct) message:
The password is invalid for \\servername\sharename
You are allowed to enter the password of the share.
To resolve this issue, use one of the following procedures:
  • Method 1: Remove the password protection from the Windows printer share.
  • Method 2:
    1. Make a connection to the share using the command prompt, and then enter the correct password with the following syntax:
      NET USE LPTx \\computernamne\printername [password]
    2. Use Print Manager or the Printers folder to create a new printer that uses the redirected LPT port.
For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
103747 Err Msg: \\Server\Share Is an Invalid Port Name
You can also querythe following phrase in the Microsoft Knowledge Base:
   invalid port name				
Microsoft is researching this problem and will post new information here inthe Microsoft Knowledge Base as it becomes available.
wfw wfwg prodnt 3.10 3.11 lanman share level security

Article ID: 121074 - Last Review: 12/04/2015 10:33:35 - Revision: 2.2

Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition, Microsoft Windows 2000 Datacenter Server, Microsoft Windows NT Advanced Server 3.1, Microsoft Windows NT Server 3.5, Microsoft Windows NT Server 3.51, Microsoft Windows NT Server 4.0 Standard Edition, Microsoft Windows NT Workstation 3.1, Microsoft Windows NT Workstation 3.5, Microsoft Windows NT Workstation 3.51, Microsoft Windows NT Workstation 4.0 Developer Edition, Microsoft Windows NT Advanced Server 3.1

  • kbnosurvey kbarchive KB121074