Public Member Functions | |
__init__ (self) | |
MessengerGet (self, Any ptrComm, COMM_TYP commTyp, int maxInputMsgCapacity, bool usingDataPort) | |
Creates a channel for sending/receiving management messages with a maximum capacity specified. | |
MessengerRelease (self) | |
Release the Messenger resource. | |
MessengerSendMsg (self, str strCommand, str strContent) | |
Send a management command and data/content to printer. | |
MessengerReadNextMsg (self, strNextMsg) | |
Read next message that may have been received asynchronously from printer. | |
MessengerSendMsgAndWaitForResponse (self, strCommand, strContent, maxWaitTimeSecs, strResponse) | |
Send a management command and data/content to printer and wait for response maxWaitTimeSecs time. | |
MessengerUnreadMsgCount (self) | |
Get the count for the unread messages. | |
RfidMonitorConnection (self, lpAddress) | |
Use NET I/F to connect the printer for RFID monitor function. | |
OdvMonitorConnection (self, lpAddress) | |
Use NET I/F to connect the printer for ODV monitor function. | |
PrinterMonitorConnection (self, lpAddress, InfoTyp) | |
Use NET I/F to connect the printer for the status of printer monitor. | |
GetPrinterInfo (self, pPrtInfo, InfoTyp) | |
Get the information for printer function. | |
GetRfidReportListening (self) | |
Get the flag of RFID report listening. | |
SetRfidReportListening (self, value) | |
Set the flag of RFID report listening. | |
GetOdvReportListening (self) | |
Get the flag of ODV report listening. | |
SetOdvReportListening (self, value) | |
Set the flag of ODV report listening. | |
RfidMonitorDispose (self) | |
Release RFID monitor resource. | |
OdvMonitorDispose (self) | |
Release ODV monitor resource. | |
PrinterMonitorDispose (self, InfoTyp) | |
Release printer monitor resource. | |
SetRfidReportCallback (self, callback) | |
Set a callback function to get RFID report. | |
SetOdvReportCallback (self, callback) | |
Set a callback function to get ODV report. | |
SetEngineStatusListening (self, value) | |
Set the flag of printer report listening for engine status. | |
SetDisplayStatusListening (self, value) | |
Set the flag of printer report listening for display status. | |
SetAlertStatusListening (self, value) | |
Set the flag of printer report listening for alert status. | |
GetEngineStatusListening (self) | |
Get the flag of engine status listening. | |
GetDisplayStatusListening (self) | |
Get the flag of display status listening. | |
GetAlertStatusListening (self) | |
Get the flag of alert status listening. | |
SetEngineStatusCallback (self, callback) | |
Set a callback function to get engine status. | |
SetDisplayStatusCallback (self, callback) | |
Set a callback function to get display status. | |
SetAlertStatusCallback (self, callback) | |
Set a callback function to get alert status. | |
GetPrinterAllValues (self, ptrComm, COMM_TYP commTyp, bool usingDataPort) | |
Get all settings of printer. | |
GetPrinterValue (self, ptrComm, COMM_TYP commTyp, bool usingDataPort, key) | |
Get a single setting of printer. | |
GetPrinterValues (self, ptrComm, COMM_TYP commTyp, bool usingDataPort, keys) | |
Get multiple settings of printer. | |
SetPrinterValue (self, ptrComm, COMM_TYP commTyp, bool usingDataPort, key, value) | |
Set a single setting of printer. | |
SetPrinterValues (self, ptrComm, COMM_TYP commTyp, bool usingDataPort, keysToSet) | |
Set multiple settings of printer. | |
GetPrinterProperties (self, ptrComm, COMM_TYP commTyp, bool usingDataPort, key) | |
Get a single property of printer. | |
GetPrinterPropertiesEx (self, ptrComm, COMM_TYP commTyp, bool usingDataPort, keys) | |
Get multiple properties of printer. | |
GetPrinterAllProperties (self, ptrComm, COMM_TYP commTyp, bool usingDataPort) | |
Get all properties of printer. | |
GetPrinterConfig (self, ptrComm, COMM_TYP commTyp, bool usingDataPort, CfgNumber) | |
Get a single configuration of printer. | |
SetPrinterConfig (self, ptrComm, COMM_TYP commTyp, bool usingDataPort, Config) | |
Set a single configuration of printer. | |
GetPrinterAllConfig (self, ptrComm, COMM_TYP commTyp, bool usingDataPort) | |
Get all configurations of printer. | |
Public Attributes | |
AllMsg | |
JsonSDK.JsonSDK.__init__ | ( | self | ) |
JsonSDK.JsonSDK.GetAlertStatusListening | ( | self | ) |
Get the flag of alert status listening.
JsonSDK.JsonSDK.GetDisplayStatusListening | ( | self | ) |
Get the flag of display status listening.
JsonSDK.JsonSDK.GetEngineStatusListening | ( | self | ) |
Get the flag of engine status listening.
JsonSDK.JsonSDK.GetOdvReportListening | ( | self | ) |
Get the flag of ODV report listening.
JsonSDK.JsonSDK.GetPrinterAllConfig | ( | self, | |
ptrComm, | |||
COMM_TYP | commTyp, | ||
bool | usingDataPort ) |
Get all configurations of printer.
[in] | ptrComm | : a pointer to storage communicating I/F |
[in] | commTyp | : set the type of interface |
[in] | usingDataPort | : a flag to use data port |
JsonSDK.JsonSDK.GetPrinterAllProperties | ( | self, | |
ptrComm, | |||
COMM_TYP | commTyp, | ||
bool | usingDataPort ) |
Get all properties of printer.
[in] | ptrComm | : a pointer to storage communicating I/F |
[in] | commTyp | : set the type of interface |
[in] | usingDataPort | : a flag to use data port |
JsonSDK.JsonSDK.GetPrinterAllValues | ( | self, | |
ptrComm, | |||
COMM_TYP | commTyp, | ||
bool | usingDataPort ) |
Get all settings of printer.
[in] | ptrComm | : a pointer to storage communicating I/F |
[in] | commTyp | : set the type of interface |
[in] | usingDataPort | : a flag to use data port |
JsonSDK.JsonSDK.GetPrinterConfig | ( | self, | |
ptrComm, | |||
COMM_TYP | commTyp, | ||
bool | usingDataPort, | ||
CfgNumber ) |
Get a single configuration of printer.
[in] | ptrComm | : a pointer to storage communicating I/F |
[in] | commTyp | : set the type of interface |
[in] | usingDataPort | : a flag to use data port |
[in] | CfgNumber | : an index of the configuration, the range is 0 ~ 8 |
JsonSDK.JsonSDK.GetPrinterInfo | ( | self, | |
pPrtInfo, | |||
InfoTyp ) |
Get the information for printer function.
[out] | pPrtInfo | : a struct to storage the printer information |
[in] | InfoTyp | : Set the type for RFID or ODV information |
JsonSDK.JsonSDK.GetPrinterProperties | ( | self, | |
ptrComm, | |||
COMM_TYP | commTyp, | ||
bool | usingDataPort, | ||
key ) |
Get a single property of printer.
[in] | ptrComm | : a pointer to storage communicating I/F |
[in] | commTyp | : set the type of interface |
[in] | usingDataPort | : a flag to use data port |
[in] | key | a key value for properties of printer |
JsonSDK.JsonSDK.GetPrinterPropertiesEx | ( | self, | |
ptrComm, | |||
COMM_TYP | commTyp, | ||
bool | usingDataPort, | ||
keys ) |
Get multiple properties of printer.
[in] | ptrComm | : a pointer to storage communicating I/F |
[in] | commTyp | : set the type of interface |
[in] | usingDataPort | : a flag to use data port |
[in] | keys | key values for properties of printer |
JsonSDK.JsonSDK.GetPrinterValue | ( | self, | |
ptrComm, | |||
COMM_TYP | commTyp, | ||
bool | usingDataPort, | ||
key ) |
Get a single setting of printer.
[in] | ptrComm | : a pointer to storage communicating I/F |
[in] | commTyp | : set the type of interface |
[in] | usingDataPort | : a flag to use data port |
[in] | key | a key value for setting of printer |
JsonSDK.JsonSDK.GetPrinterValues | ( | self, | |
ptrComm, | |||
COMM_TYP | commTyp, | ||
bool | usingDataPort, | ||
keys ) |
Get multiple settings of printer.
[in] | ptrComm | : a pointer to storage communicating I/F |
[in] | commTyp | : set the type of interface |
[in] | usingDataPort | : a flag to use data port |
[in] | keys | multiple key values for setting of printer |
JsonSDK.JsonSDK.GetRfidReportListening | ( | self | ) |
Get the flag of RFID report listening.
JsonSDK.JsonSDK.MessengerGet | ( | self, | |
Any | ptrComm, | ||
COMM_TYP | commTyp, | ||
int | maxInputMsgCapacity, | ||
bool | usingDataPort ) |
Creates a channel for sending/receiving management messages with a maximum capacity specified.
[out] | ptrComm | a pointer to storage communicating I/F |
[in] | commTyp | Set the type of interface |
[in] | maxInputMsgCapacity | The default value is MAX_INPUT_MSG_CAPACITY(20) |
[in] | usingDataPort | The default value is False |
JsonSDK.JsonSDK.MessengerReadNextMsg | ( | self, | |
strNextMsg ) |
Read next message that may have been received asynchronously from printer.
[out] | strNextMsg | : a buffer to storage the next returned message |
JsonSDK.JsonSDK.MessengerRelease | ( | self | ) |
Release the Messenger resource.
JsonSDK.JsonSDK.MessengerSendMsg | ( | self, | |
str | strCommand, | ||
str | strContent ) |
Send a management command and data/content to printer.
[in] | strCommand | : a management command string |
[in] | strContent | : a management data/content string |
JsonSDK.JsonSDK.MessengerSendMsgAndWaitForResponse | ( | self, | |
strCommand, | |||
strContent, | |||
maxWaitTimeSecs, | |||
strResponse ) |
Send a management command and data/content to printer and wait for response maxWaitTimeSecs time.
[in] | strCommand | : a management command string |
[in] | strContent | : a management data/content string |
[in] | maxWaitTimeSecs | : a maximum waiting time |
[out] | strResponse | : a buffer to storage for JSON string response |
JsonSDK.JsonSDK.MessengerUnreadMsgCount | ( | self | ) |
Get the count for the unread messages.
JsonSDK.JsonSDK.OdvMonitorConnection | ( | self, | |
lpAddress ) |
Use NET I/F to connect the printer for ODV monitor function.
[in] | lpAddress | : IP address |
JsonSDK.JsonSDK.OdvMonitorDispose | ( | self | ) |
Release ODV monitor resource.
JsonSDK.JsonSDK.PrinterMonitorConnection | ( | self, | |
lpAddress, | |||
InfoTyp ) |
Use NET I/F to connect the printer for the status of printer monitor.
[in] | lpAddress | : IP address |
[in] | InfoTyp | : Set the type for RFID or ODV information |
JsonSDK.JsonSDK.PrinterMonitorDispose | ( | self, | |
InfoTyp ) |
Release printer monitor resource.
[in] | InfoTyp | : Set the type for RFID/ODV/printer status information |
JsonSDK.JsonSDK.RfidMonitorConnection | ( | self, | |
lpAddress ) |
Use NET I/F to connect the printer for RFID monitor function.
[in] | lpAddress | : IP address |
JsonSDK.JsonSDK.RfidMonitorDispose | ( | self | ) |
Release RFID monitor resource.
JsonSDK.JsonSDK.SetAlertStatusCallback | ( | self, | |
callback ) |
Set a callback function to get alert status.
[in] | callback | :a callback function |
JsonSDK.JsonSDK.SetAlertStatusListening | ( | self, | |
value ) |
Set the flag of printer report listening for alert status.
[in] | value | : a flag to set printer report listening |
JsonSDK.JsonSDK.SetDisplayStatusCallback | ( | self, | |
callback ) |
Set a callback function to get display status.
[in] | callback | :a callback function |
JsonSDK.JsonSDK.SetDisplayStatusListening | ( | self, | |
value ) |
Set the flag of printer report listening for display status.
[in] | value | : a flag to set printer report listening |
JsonSDK.JsonSDK.SetEngineStatusCallback | ( | self, | |
callback ) |
Set a callback function to get engine status.
[in] | callback | :a callback function |
JsonSDK.JsonSDK.SetEngineStatusListening | ( | self, | |
value ) |
Set the flag of printer report listening for engine status.
[in] | value | : a flag to set printer report listening |
JsonSDK.JsonSDK.SetOdvReportCallback | ( | self, | |
callback ) |
Set a callback function to get ODV report.
[in] | callback | :a callback function |
JsonSDK.JsonSDK.SetOdvReportListening | ( | self, | |
value ) |
Set the flag of ODV report listening.
[in] | value | : a flag to set ODV report listening |
JsonSDK.JsonSDK.SetPrinterConfig | ( | self, | |
ptrComm, | |||
COMM_TYP | commTyp, | ||
bool | usingDataPort, | ||
Config ) |
Set a single configuration of printer.
[in] | ptrComm | : a pointer to storage communicating I/F |
[in] | commTyp | : set the type of interface |
[in] | usingDataPort | : a flag to use data port |
[in] | Config | : a configuration |
JsonSDK.JsonSDK.SetPrinterValue | ( | self, | |
ptrComm, | |||
COMM_TYP | commTyp, | ||
bool | usingDataPort, | ||
key, | |||
value ) |
Set a single setting of printer.
[in] | ptrComm | : a pointer to storage communicating I/F |
[in] | commTyp | : set the type of interface |
[in] | usingDataPort | : a flag to use data port |
[in] | key | a key value for setting of printer |
[in] | value | a setting of printer |
JsonSDK.JsonSDK.SetPrinterValues | ( | self, | |
ptrComm, | |||
COMM_TYP | commTyp, | ||
bool | usingDataPort, | ||
keysToSet ) |
Set multiple settings of printer.
[in] | ptrComm | : a pointer to storage communicating I/F |
[in] | commTyp | : set the type of interface |
[in] | usingDataPort | : a flag to use data port |
[in] | keysToSet | multiple key values for setting of printer |
JsonSDK.JsonSDK.SetRfidReportCallback | ( | self, | |
callback ) |
Set a callback function to get RFID report.
[in] | callback | :a callback function |
JsonSDK.JsonSDK.SetRfidReportListening | ( | self, | |
value ) |
Set the flag of RFID report listening.
[in] | value | : a flag to set RFID report listening |
JsonSDK.JsonSDK.AllMsg |