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

Printer information class to show printer attributes and other useful information. More...

#include <PrinterInfo.h>

Inheritance diagram for PrinterInfo:

Instance Methods

(void) - setRawInfoWithDictionary:
 Sets the raw information dictionary.
 
(NSString *) - model
 Gets the model of the printer.
 
(NSString *) - serialNumber
 Gets the serial number of the printer.
 
(NSString *) - firmwareVersion
 Gets the firmware version of the printer.
 
(NSString *) - firmwarePartNumber
 Gets the firmware part number of the printer.
 
(NSString *) - printheadResolution
 Gets the printhead resolution of the printer.
 
(BOOL) - hasOdvOption
 Checks if the printer has the ODV (Optical Disc Verification) option.
 
(BOOL) - hasRfidOption
 Checks if the printer has the RFID option.
 
(BOOL) - hasClockOption
 Checks if the printer has the clock option.
 

Properties

NSDictionary< NSString *, NSString * > * rawInfo
 The raw information dictionary containing printer details.
 

Detailed Description

Printer information class to show printer attributes and other useful information.

Method Documentation

◆ firmwarePartNumber

- (NSString *) firmwarePartNumber

Gets the firmware part number of the printer.

Returns
A string representing the printer firmware part number.

◆ firmwareVersion

- (NSString *) firmwareVersion

Gets the firmware version of the printer.

Returns
A string representing the printer firmware version.

◆ hasClockOption

- (BOOL) hasClockOption

Checks if the printer has the clock option.

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

◆ hasOdvOption

- (BOOL) hasOdvOption

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

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

◆ hasRfidOption

- (BOOL) hasRfidOption

Checks if the printer has the RFID option.

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

◆ model

- (NSString *) model

Gets the model of the printer.

Returns
A string representing the printer model.

◆ printheadResolution

- (NSString *) printheadResolution

Gets the printhead resolution of the printer.

Returns
A string representing the printhead resolution.

◆ serialNumber

- (NSString *) serialNumber

Gets the serial number of the printer.

Returns
A string representing the printer serial number.

◆ setRawInfoWithDictionary:

- (void) setRawInfoWithDictionary: (NSDictionary< NSString *, NSString * > *) rawInfo

Sets the raw information dictionary.

Parameters
rawInfoThe dictionary containing the raw printer information.

Property Documentation

◆ rawInfo

- (NSDictionary<NSString *, NSString *>*) rawInfo
readnonatomicstrong

The raw information dictionary containing printer details.


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