Skip to main content

getPrinterStatus

Get the current status of a printer.

Parameter

KeyTypeDescription
printerstringPrinter ID.

Return value

A Status object with the following keys:

KeyTypeDescription
statestringSee getPrinterState.
ragStatusstringRED, AMBER or GREEN.
errorsarray of stringsEmpty if there are no errors.
inkarray of InkStatusSee below.

An InkStatus object as the following keys:

KeyTypeDescription
statestringSTOPPED, STANDBY, STARTING, STARTED, STOPPING, CALIBRATING, FILLING, EMPTYING, MANUAL, or ERROR.
ragStatusstringRED, AMBER or GREEN.
levelstringEMPTY, LOW, or OK.
errorsarray of stringsEmpty if there are no errors.
warningsarray of stringsEmpty if there are no warnings.