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

Get printer status #43

Open
TimoKunze opened this issue Feb 27, 2022 · 0 comments
Open

Get printer status #43

TimoKunze opened this issue Feb 27, 2022 · 0 comments

Comments

@TimoKunze
Copy link

TimoKunze commented Feb 27, 2022

How can I get a printer's status, I mean "officially"?

I've noticed that getPrinter actually returns an object that has a "status" property, which is a string-array of printer status flags. But this property is not part of the PrinterDetails type. Is it only supported on Windows and therefore not part of the type?
What is the proper way to retrieve a printer's status?

Actually I would also need the attributes property that is also returned by getPrinter, but not defined by PrinterDetails.

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