Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine if cut label is still in the printer? #105

Open
nullfox opened this issue Mar 21, 2023 · 0 comments
Open

Determine if cut label is still in the printer? #105

nullfox opened this issue Mar 21, 2023 · 0 comments

Comments

@nullfox
Copy link

nullfox commented Mar 21, 2023

It seems like the Android SDK has a property called removalWaiting that if I'm understanding correctly, correlates to a print that has been sent and cut but hasn't been pulled away from the printer. Am I understanding the purpose of removalWaiting?

It doesn't look like that removalWaiting has been implemented in this library and I'm curious about the amount of effort required to expose this?

It looks like it's been partially implemented here:

switch (statusInfo.getRemovalWaiting()) {
case Printer.EVENT_REMOVAL_WAIT_PAPER:
paperWait = "WAITING_FOR_PAPER_REMOVAL";
break;
case Printer.EVENT_REMOVAL_WAIT_NONE:
paperWait = "NOT_WAITING_FOR_PAPER_REMOVAL";
break;
case Printer.UNKNOWN:
paperWait = "UNKNOWN";
break;
default:
break;
but is using variables prefixed with EVENT_ which the other switch blocks aren't.

It also doesn't look like paperWait is coming back in the status monitor or the result of the print send() command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant