Module to facilitate listening/retrieval of printer unsolicited messaging or retrieval of printer status/information. More...
Public Member Functions | |
| PrinterMonitor (JsonComm mgmtComm) | |
| PrinterMonitor (String commDescriptor) | |
| PrinterMonitor (TcpConnection connection) | |
| void | close () throws Exception |
| void | Dispose () |
| AlertStatusNotice | GetAlertStatusCallback () |
| boolean | GetAlertStatusListening () |
| Inherited from IPrinterMonitor.AlertStatusListening. | |
| DisplayStatusNotice | GetDisplayStatusCallback () |
| boolean | GetDisplayStatusListening () |
| Inherited from IPrinterMonitor.DisplayStatusListening. | |
| String | GetEngineStatus () |
| Inherited from IPrinterMonitor.GetEngineStatus | |
| EngineStatusNotice | GetEngineStatusCallback () |
| boolean | GetEngineStatusListening () |
| Inherited from IPrinterMonitor.EngineStatusListening. | |
| String[] | GetFaultStatus () |
| Inherited from IPrinterMonitor.GetFaultStatus | |
| PrinterInfo | GetPrinterInfo () |
| Inherited from IPrinterMonitor.GetPrinterInfo | |
| void | SetAlertStatusCallback (AlertStatusNotice callback) |
| Holds the function to call when fault/alert msgs received from printer. Function must match signature of AlertStatusNotice. | |
| void | SetAlertStatusListening (boolean listening) |
| Enable/disable listening/parsing unsolicited fault status alerts from printer. More... | |
| void | SetDisplayStatusCallback (DisplayStatusNotice callback) |
| Holds the function to call when display text msgs received from printer. Function must match signature of DisplayStatusNotice. | |
| void | SetDisplayStatusListening (boolean listening) |
| Enable/disable listening/parsing unsolicited front panel display text from printer. More... | |
| void | SetEngineStatusCallback (EngineStatusNotice callback) |
| Holds the function to call when engine status received from printer. Function must match signature of EngineStatusNotice. | |
| void | SetEngineStatusListening (boolean listening) |
| Enable/disable listening/parsing unsolicited engine status from printer. More... | |
Protected Member Functions | |
| void | Dispose (boolean disposing) |
| void | finalize () throws Throwable |
Module to facilitate listening/retrieval of printer unsolicited messaging or retrieval of printer status/information.
Unsolicited messages, if enabled on printer, can be sent at any time. This module requires a constant connection to the printer's management port in order to listen for any messaging sent out by printer.
Result after causing fault by opening/closing print head, and pressing the pause button on printer to place printer "offline"/"online".
| void SetAlertStatusListening | ( | boolean | listening | ) |
Enable/disable listening/parsing unsolicited fault status alerts from printer.
Note that this must be enabled in order to receive any notifications, AlertStatusCallback, from printer.
Implements IPrinterMonitor.
| void SetDisplayStatusListening | ( | boolean | listening | ) |
Enable/disable listening/parsing unsolicited front panel display text from printer.
Note that this must be enabled in order to receive any notifications, DisplayStatusCallback, from printer.
Implements IPrinterMonitor.
| void SetEngineStatusListening | ( | boolean | listening | ) |
Enable/disable listening/parsing unsolicited engine status from printer.
Note that this must be enabled in order to receive any notifications, EngineStatusCallback, from printer.
Implements IPrinterMonitor.