getPrinterState
Get the current state of a printer.
Parameter
| Key | Type | Description |
|---|---|---|
| printer | string | Printer ID. |
Return value
Get current state of the machine as a string:
| State | Description | Printing possible |
|---|---|---|
INITIALIZING | The printer is initializing. | false |
STOPPED | The printer is stopped. | false |
STANDBY | The printer is in standby mode. | false |
STARTING | The ink systems are starting. Next state is HEATING. | false |
HEATING | The ink systems are started up, but the operating ink temperature has not yet been reached. | true |
STARTED | The ink systems are started and the printer is ready to print. | true |
MAINTENANCE | The operator mode en enabled, which prevents printing. | false |
STOPPING | The ink systems are stopping. | false |
ERROR | An error has occurred. | false |
OTHER | The ink systems are in a mixed state, i.e. one is running and another is stopped. | false |