I have three star printers connected:
Sdk : (com.starmicronics:stario10:1.11.2)
After upgrading from com.starmicronics:stario10:1.8.0, we started observing an intermittent issue where the printer occasionally throws a "write failed" exception. Retrying the print request successfully prints the receipt, but in some cases the printer also outputs unexpected raw/junk data, as shown below.
The issue is difficult to reproduce and occurs very infrequently—approximately once in every 100 print requests.
Current implementation
Each printer is managed as a global instance, which is used to open and close the connection. These instances are recreated only when the application is restarted.
This approach has been working reliably and no issues were reported previously, but this problem has started occurring recently without any changes to the implementation.
Your device where the bug occurs
Device:
Google Pixel Tablet
OS:
Android 16
Your printer
Model Names:
Star MCP30
Interface:
e.g. Ethernet
I have three star printers connected:
Sdk : (com.starmicronics:stario10:1.11.2)
After upgrading from
com.starmicronics:stario10:1.8.0, we started observing an intermittent issue where the printer occasionally throws a "write failed" exception. Retrying the print request successfully prints the receipt, but in some cases the printer also outputs unexpected raw/junk data, as shown below.The issue is difficult to reproduce and occurs very infrequently—approximately once in every 100 print requests.
Current implementation
Each printer is managed as a global instance, which is used to open and close the connection. These instances are recreated only when the application is restarted.
This approach has been working reliably and no issues were reported previously, but this problem has started occurring recently without any changes to the implementation.
Your device where the bug occurs
Device:
Google Pixel Tablet
OS:
Android 16
Your printer
Model Names:
Star MCP30
Interface:
e.g. Ethernet