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

Printer Status #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Printer Status #17

wants to merge 1 commit into from

Conversation

akoebbe
Copy link

@akoebbe akoebbe commented Nov 14, 2018

#15 Added a class to decipher the return values from ~HS. This is very helpful when you want to see the status/settings of the printer.

* Client can now provide a PrinterStatus object that will parse the output from the `~HS` command and return a more friendly way to check the status of the printer.
@danniehansen
Copy link

This is a really awesome addition. Would love to see it merged. I used it to investigate configuration differences between printers. & if I'm not mistaken i would be able to use getFormatCountInBuffer to see how many labels are in queue?

Really nice @akoebbe!

@akoebbe
Copy link
Author

akoebbe commented Jan 31, 2019

Thanks @danniehansen! I'm not actually sure what exactly the getFormatCountInBuffer returns. I only copied down what was in the ZPL docs (which have a lack of verbosity for this response). If you are able to test your assumptions and verify it, I'd be happy to update the docblock to reflect that.

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

Successfully merging this pull request may close these issues.

2 participants