Works Err Msg: Printer Is Not Connected to a Valid Port

Article translations Article translations
Article ID: 104323 - View products that this article applies to.
This article was previously published under Q104323
This article has been archived. It is offered "as is" and will no longer be updated.
2.00 2.00a WINDOWS kbprint
Expand all | Collapse all


You will get the error message "Printer is not connected to a valid port" when the line corresponding to the assigned port is missing from the [ports] section of the WIN.INI file. For example, if the printer is connected to LPT1, the line
must be present in the [ports] section of the WIN.INI file. You will be unable to print until this is corrected.

For the Panasonic KX-P6100 driver for Windows 95 the following port must be added:
To print to the Panasonic KX-P6100 printer, Works 2.0 needs this specific port listed.


You can correct this by connecting the printer to a port that is present in WIN.INI, or add the appropriate LPT1:= line to WIN.INI, using the following steps:

  1. Open Notepad from Program Manager (or any text editor).
  2. In Notepad, choose Open from the File menu.
  3. In the File Name box, type "win.ini" (without the quotation marks) and choose OK.
  4. From the Search menu, choose Find.
  5. In the Find What box, type "[ports]" (without the quotation marks) and select the Find Next button.
  6. Under the [ports] section, add the line
    or add the name of the port to which your printer is attached.
  7. From the File menu, choose Save.
  8. Exit Notepad.
  9. Restart Windows.


This problem is most prevalent with FAX software connected to COM ports and can be caused by any reference to the COM port missing the colon. One key WIN.INI entry that can cause this problem is:
   device=<printer name>,<driver name>,<port>:
If the colon is missing this problem will occur. To correct the problem, add the colon.


Article ID: 104323 - Last Review: October 22, 2013 - Revision: 3.0
  • Microsoft Works 2.0 Standard Edition
  • Microsoft Works 2.0a
kbnosurvey kbarchive KB104323

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from