11#import <Foundation/Foundation.h>
15extern const float PGLAlphaExpansionMin;
16extern const float PGLAlphaExpansionMax;
17extern const float PGLTwoByteExpansionMin;
18extern const float PGLTwoByteExpansionMax;
19extern NSString *
const PGLDelimeterSFCC;
20extern const char PGLDataFrameChar;
21extern NSString *
const PGLDelimeterParams;
22extern NSString *
const PGLLineTerminator;
23extern const char PGLDataFrameRestrictedChar;
25typedef NS_ENUM(NSInteger, PGL_SCALE_DOT) {
26 PGL_SCALE_DOT_DFLT_HORZ_DPI = 300,
27 PGL_SCALE_DOT_DFLT_VERT_DPI = 300
30typedef NS_ENUM(NSInteger, PGL_SCALE_CHAR) {
31 PGLScaleCharDFLTCPI = 6,
32 PGLScaleCharDFLTLPI = 10
35typedef NS_ENUM(NSInteger, PGLScaleUnits) {
40typedef NS_ENUM(NSInteger, PGLRfidFormat) {
48typedef NS_ENUM(NSInteger, PGLRfidMemBlock) {
49 PGLRfidMemBlockInvalid,
59typedef NS_ENUM(NSInteger, PGLRotation) {
62 PGLRotationCounterClockwise,
66typedef NS_ENUM(NSInteger, PGLAlignEnum) {
73typedef NS_ENUM(NSInteger, PGLBarcodeType1D) {
74 PGLBarcodeType1DNotDefined,
75 PGLBarcodeType1DCode39,
76 PGLBarcodeType1DCode128A,
77 PGLBarcodeType1DCode128B,
78 PGLBarcodeType1DCode128C,
79 PGLBarcodeType1DEAN13,
82 PGLBarcodeType1DI2of5,
83 PGLBarcodeType1DCODABAR,
84 PGLBarcodeType1DGS128,
85 PGLBarcodeType1DCode93
88typedef NS_ENUM(NSInteger, PGLBarcodeType2D) {
89 PGLBarcodeType2DNotDefined,
90 PGLBarcodeType2DMAXICODE,
92 PGLBarcodeType2DPDF417,
93 PGLBarcodeType2DAZTEC,
94 PGLBarcodeType2DDMATRIX
97@interface PGL : NSObject
99+ (NSString *)rfidFormatToString:(PGLRfidFormat)format;
100+ (NSString *)rfidMemBlockToString:(PGLRfidMemBlock)memBlock;
101+ (NSString *)rotationToString:(PGLRotation)rotation;
102+ (NSString *)alignmentToString:(PGLAlignEnum)align;
103+ (NSString *)barcodeType1DToString:(PGLBarcodeType1D)barcodeType;
104+ (NSString *)barcodeType2DToString:(PGLBarcodeType2D)barcodeType;
105+ (char)getPrintableDataFrameChar:(NSString *)dataToFrame;
106+ (float)igpDotsFromDots:(
float)dots dpiResolution:(
float)dpiResolution;
107+ (int)minLT:(
int)ltCheck;