Skip to end of metadata
Go to start of metadata

Description

Print jobs are no longer printing and you receive the following error message:

Error Message
(M2231) Error Opening Port (M1583) Connection Timed Out

Explanation

Reasons for the message include: 

  • Printer has been turned off/unplugged.

  • Printer has lost it's assigned IP Address.

  • Printer is in DHCP mode.

  • Printer has a faulty or failed NIC card.

  • Printer may have a faulty Ethernet cable.

  • Printer may be connected to a switch with a faulty and failed port.
  • Printer may have been factory defaulted.
  • An incorrect tcp/ip address was specified for the printer within Loftware.

It's getting a dynamic IP and differs from the the IP configured in the Device grid.

Loftware Status Dialog:

When looking in Loftware Status Dialog you see a printer in the list that has a red icon with an exclamation point  followed by "Printer Number - Alias Name" (M2231) Error Opening Port ((M1583) Connection Timed Out.).

About the Error:

The initial error (M2231) is generated because Loftware could not successfully make a socket connection to the printer and the second error (M2231) is caused by the device taking to long to reply to a data request from the LPS.

Click the Link Below to Expand for Additional Information

 About the Status Client

The LPS Status Client allows the viewing of LPS printing activity from anywhere on the network. It allows you to get a quick snapshot of printing activity throughout the shop floor. It also allows you to delete pending jobs and reprint jobs on an as needed basis. Tree and Context views are provided to maximize the information that you can obtain. Any number of LPS servers can be monitored. Jobs can be viewed, resubmitted, or deleted.

Status Application showing a printer with an error condition

Fig.1 Status Application showing a printer with an error condition.

Click the Link Below to Expand for Additional Information

 Interpreting Error Status Dialog Conditions
  • A red exclamation point (!) icon to the left of the server name indicates that there is an error on one of its devices.
  • When one of the icons changes to yellow, it denotes a critical failure. Red denotes that a job did not print because of an error at the printer.
    n

Note

Icon

The error messages after the printer name. These particular messages are available because Detailed Status is enabled for this printer - this option is available for certain Intermec and Zebra printers.

***See the Loftware Label Manager User Guide for more information on Detailed Status.


Solution

Suggested Troubleshooting Using Loftware Status Dialog. There are instances where the customer may not have direct access to the printer i.e. the printer is located in the warehouse or at a remote location. Using the Status Dialog we can attempt to open the internal web page of the printer.

  1. In Loftware Status Dialog select the printer showing the (M2231) Error Opening Port ((M1583) Connection Timed Out.).
  2. Right-click this entry.
  3. Select "Launch Browser...".
  4. This will launch your default browser and attempt to open the web page to the printer.

Status Application showing how to access and launch a printers web-interface using a broswer.
Fig.2 Right-clicking a printer entry allows you to open the printers web interface in your default browser.


At this point, if the printer is unreachable the browser will generate an "Timed Out" error.

A web browser attempting to access a printers web-interface and returning timed out error.

Fig.3 Various browser responses when attempting to open a printers web interface.

Time Out Browser Response

Icon

Internet Explorer  = This page can’t be displayed (Make sure the web address http://172.16.61.13 is correct.)
Mozilla Firefox = The connection has timed out (The server at 172.16.61.13 is taking too long to respond.) (screenshot above)
Google Chrome = This web page is not available ERR_CONNECTION_TIMED_OUT

Click the Link Below to Expand for Additional Information

  What Does a Server Connection Timeout Mean?

 A server connection timeout means that a server is taking too long to reply to a data request made from another device. Timeouts are not a reply message: they show up when there isn't a reply and a server request is not fulfilled in a predetermined length of time.

What Does This Tell Me:

  • The IP address of what you believe to be assigned to the printer. Check with your customer this is the correct IP address.
  • Conformation the printer is unreachable (the LPS is unable to connect) along with the "Timed out" error you received from your browser test.

 

Using the CMD Window

Icon

Alternatively you can use the Windows command console to ping the IP address of the printer.

  • If the customer does not know the IP address or does not have access to the devices through Design32. Using the above method will reveal the IP address of the printer(s). You can then use that information to perform a ping to the printer.

Windows Command Prompt showing a ping to the printer and returning a request timed out.

-t ping the specified host until stopped.

Icon

You can use the [ -t ] cmd option to ping the specific printer until stopped. This could be useful if the customer is attempting to bring the printer online and you want to monitor in real-time.

>ping 173.16.63.20 -t

- To see statistics and continue - type Control-Break;
- To stop - type Control-C.


Equally, if the customer has direct access to the printer and/or your Status Dialog troubleshooting confirms the error (M2231) connecting to the printer, have the customer physically examine the printer for the above mentioned issues.

Conclusion

This issue falls outside the scope of Loftware support. Please have your customer contact the appropriate resources and have them check the for any of the items below.

  • Check to see of the printer has been turned off/unplugged.
  • Check the printer has not lost it's assigned IP Address.
  • Check the printer is not in DHCP mode (It's getting a dynamic IP and differs from the LPS cached IP address).
  • Check the printer it does not have a faulty or failed NIC card.
  • Check to network i.e. port on the switch or some other related network centric device that provides connectivity.
  • Check the Ethernet cable that is it not damaged. (try swapping cables)

Article Number

2016030

Versions

All supported LPS family product versions

Environment

Any supported LPS family product environment