Skip to content

Mpop | Intermittent "Printer is offline" when using hasBarcodeReader #47

Open
@robmacecs

Description

@robmacecs

As per the title. When connecting to an mpop device using the StarIOExtManager method alongside the hasBarcodeReader true option. When then calling print commands, it intermittently fails showing the following log

⚡️ [log] - Printer Error: Printer is offline (BeginCheckedBlock)

If we simply change the option hasBarcodeReader to false, the printer behaves correctly. So I assume it's something to do with the StarIoExtManagerTypeWithBarcodeReader type being used here.

I noticed that this repo is using (I think) v5.5 of the StarIO SDK but the latest version is 5.11. I have reached out to Star to try find out if this is a known issue fixed between those 2 versions or not, but wanted to raise the issue here too.

For some extra context, this is the repository included in https://github.com/ionic-team/ionic-native and the app we are developing is an Ionic app.

Please let me know if anyone else has encountered this, and if there is any way around it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions