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.
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 thePrinterDetails
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 bygetPrinter
, but not defined byPrinterDetails
.