star-micronics / react-native-star-io10

react-native-star-io10 is a library for supporting application development for Star Micronics devices.
Other
83 stars 54 forks source link

Problems with USB connected printers: "Request timed out" and "Device not found" #81

Closed johnbjurulf closed 1 year ago

johnbjurulf commented 1 year ago

Description

We are experiencing sporadic problems with USB connected printers. The discovery works and we setup a connection to the printer, printing works fine. But then sometimes the printing completely stops working, with the error message: "Request timed out" or "Device not found.". In some cases this can be resolved by running a discovery again await manager.startDiscovery() but in some cases the printer is not found anymore. In rare cases the only solution has been to do a factory reset of the ipad we are running the software on.

Would it be possible to get a more detailed description of the error messages we are seeing? ("Request timed out" and "Device not found" in combination with the Usb connection type)

Your device where the bug occurs

Your printer

Your development environment

We have only seen this problem in production, but we have not been able to reproduce it in our development environment.

Additional context

The only implementation difference from the docs you've provided is that we open and close a connection the printer for every print. Built so several devices can use the same printer (for Ethernet that is, so not related to USB). We have also seen some strange prints in conjunction with these problems, I've attached an image for an example. IMG_2727

bandit-ibayashi commented 1 year ago

@johnbjurulf We are afraid we have not been able to respond to this Issue.

I have never received these issues before, so could you please confirm the following points with this user to exclude that the event is not caused by a specific hardware first?

And, it would also be very helpful if this user could provide information on Self-Printing in order to know the model and printer settings.

bandit-ibayashi commented 1 year ago

This Issue will be closed as there has been no movement for a half of year. If you continue to experience similar issues, please try the following first.

  1. Update iOS of your device to the latest version.
  2. Update your printer's firmware. Firmware update is available via Star Quick Setup Utility provided by Star Micronics as an iOS app.
  3. Update react-native-star-io10 to the latest version.

If it still does not solve your issue, please post it as a new Issue.