UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
PrinterInfo.h
1//
2// PrinterInfo.h
3// TSCPrinters SDK
4//
5// Created by Realbuber on 2024/4/10.
6//
7
8#ifndef PrinterInfo_h
9#define PrinterInfo_h
10
11
12#endif /* PrinterInfo_h */
13
14#import <Foundation/Foundation.h>
15
32@interface PrinterInfo : NSObject
33
44@property (nonatomic, strong, readonly) NSDictionary<NSString *, NSString *> *rawInfo;
45
62- (void)setRawInfoWithDictionary:(NSDictionary<NSString *, NSString *> *)rawInfo;
63
80- (NSString *)model;
81
98- (NSString *)serialNumber;
99
116- (NSString *)firmwareVersion;
117
134- (NSString *)firmwarePartNumber;
135
152- (NSString *)printheadResolution;
153
170- (BOOL)hasOdvOption;
171
188- (BOOL)hasRfidOption;
189
206- (BOOL)hasClockOption;
207
208@end
Printer information class to show printer attributes and other useful information.
Definition PrinterInfo.h:33
NSString * firmwareVersion()
Gets the firmware version of the printer.
BOOL hasClockOption()
Checks if the printer has the clock option.
BOOL hasRfidOption()
Checks if the printer has the RFID option.
NSString * printheadResolution()
Gets the printhead resolution of the printer.
NSString * model()
Gets the model of the printer.
NSDictionary< NSString *, NSString * > * rawInfo
The raw information dictionary containing printer details.
Definition PrinterInfo.h:44
BOOL hasOdvOption()
Checks if the printer has the ODV (Optical Disc Verification) option.
NSString * firmwarePartNumber()
Gets the firmware part number of the printer.
NSString * serialNumber()
Gets the serial number of the printer.