UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
PrinterMonitor.PrinterInfo Class Reference

Public Member Functions

 __init__ (self)
 
 set_raw_info (self, raw_info)
 Sets the raw information dictionary.
 
 model (self)
 Gets the model of the printer.
 
 firmware_version (self)
 Gets the firmware version of the printer.
 
 firmware_part_number (self)
 Gets the firmware part number of the printer.
 
 has_clock_option (self)
 Checks if the printer has the clock option.
 
 has_odv_option (self)
 Checks if the printer has the ODV (Optical Disc Verification) option.
 
 has_rfid_option (self)
 Checks if the printer has the RFID option.
 
 printhead_resolution (self)
 Gets the printhead resolution of the printer.
 
 serial_number (self)
 Gets the serial number of the printer.
 

Protected Attributes

 _raw_info
 

Constructor & Destructor Documentation

◆ __init__()

PrinterMonitor.PrinterInfo.__init__ ( self)

Member Function Documentation

◆ firmware_part_number()

PrinterMonitor.PrinterInfo.firmware_part_number ( self)

Gets the firmware part number of the printer.

Returns
A string representing the printer firmware part number.

◆ firmware_version()

PrinterMonitor.PrinterInfo.firmware_version ( self)

Gets the firmware version of the printer.

Returns
A string representing the printer firmware version.

◆ has_clock_option()

PrinterMonitor.PrinterInfo.has_clock_option ( self)

Checks if the printer has the clock option.

Returns
YES if the printer has the clock option, NO otherwise.

◆ has_odv_option()

PrinterMonitor.PrinterInfo.has_odv_option ( self)

Checks if the printer has the ODV (Optical Disc Verification) option.

Returns
YES if the printer has the ODV option, NO otherwise.

◆ has_rfid_option()

PrinterMonitor.PrinterInfo.has_rfid_option ( self)

Checks if the printer has the RFID option.

Returns
YES if the printer has the RFID option, NO otherwise.

◆ model()

PrinterMonitor.PrinterInfo.model ( self)

Gets the model of the printer.

Returns
A string representing the printer model.

◆ printhead_resolution()

PrinterMonitor.PrinterInfo.printhead_resolution ( self)

Gets the printhead resolution of the printer.

Returns
A string representing the printhead resolution.

◆ serial_number()

PrinterMonitor.PrinterInfo.serial_number ( self)

Gets the serial number of the printer.

Returns
A string representing the printer serial number.

◆ set_raw_info()

PrinterMonitor.PrinterInfo.set_raw_info ( self,
raw_info )

Sets the raw information dictionary.

Parameters
raw_infoThe dictionary containing the raw printer information.

Member Data Documentation

◆ _raw_info

PrinterMonitor.PrinterInfo._raw_info
protected

The documentation for this class was generated from the following file: