Skip to content

Raw data printed out after updating to com.starmicronics:stario10:1.11.2 #58

Description

@zaibniazinnowi

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.

Image Image Image Image Image Image

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Status: work in progressCurrently working on this issueTarget: stario10Issues related to the API and other StarIO10 library.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions