9#import "CustomPrinter.h"
11#import "PrinterFont.h"
13#import "PrinterFeatures.h"
20 NSString* PRINTER_NAME;
21 NSInteger PAPER_WIDTH;
22 NSInteger PRINTER_RESOLUTION;
23 Boolean PRINT_ADD_PAGE_WIDTH;
24 Boolean GETFEATURES_AVAILABLE;
25 enum Compression PRINTER_COMPRESSIONTYPE;
26 NSData* TAB_CODEPAGE_TYPE;
27 NSData* TAB_CODEPAGE_CMD;
28 PrinterFeatures* printerFeatures;
38-(id)initWithComm:(CommPort*)cPort;
43- (void) Close:(NSError**)error;
44- (enum CommPortType) GetPortType;
45- (void) InitPrinterFeatures;
46- (Boolean) IsPrinterOnline:(NSError**)error;
47- (NSInteger) GetPrinterId:(NSError**)error;
48- (NSString*) GetFirmwareVersion:(NSError**)error;
49- (NSString*) GetAPIVersion;
50- (NSData*) GetPrinterFullStatusBuffer:(NSError**)error;
52- (NSString*) GetPrinterName;
53- (NSInteger) GetPageWidth;
54- (void) SetPageWidth:(NSInteger)iNewPageWidth :(NSError**)error;
55- (NSInteger) GetResolution;
57- (NSInteger) GetReadTimeout:(NSError**)error;
58- (void) SetReadTimeout:(NSInteger)msecs :(NSError**)error;
59- (NSInteger) GetWriteTimeout:(NSError**)error;
60- (void) SetWriteTimeout:(NSInteger)msecs :(NSError**)error;
62- (void) ClearReadBuffer:(NSError**)error;
63- (NSData *) ReadData:(NSError**)error;
64- (void) WriteData:(NSData *)data :(NSError**)error;
65- (NSData *) WriteDataForResponse:(NSData *)data :(NSInteger)readSize :(NSError**)error;
67- (void) Feed:(NSInteger)nFeeds :(NSError**)error;
68- (void) Cut:(enum CutType)cutType :(NSError**)error;
69- (void) Eject:(enum EjectType)ejectType :(NSError**)error;
70- (void) Present:(NSInteger)presentMM :(NSError**)error;
71- (void) Align:(enum AlignType)alignType :(NSError**)error;
72- (void) OpenCashDrawer:(enum DrawerType)drawerType :(NSInteger)dwTimeOn :(NSInteger)dwTimeOff :(NSError**)error;
74- (void) PrintText:(NSString*)text :(NSInteger)pixel_la :(NSInteger)pixel_w :(
PrinterFont*)font :(NSError**)error;
75- (void) PrintTextLF:(NSString*)text :(NSInteger)pixel_la :(NSInteger)pixel_w :(
PrinterFont*)font :(NSError**)error;
76- (void) PrintText:(NSString*)text :(
PrinterFont*)font :(NSError**)error;
77- (void) PrintTextLF:(NSString*)text :(
PrinterFont*)font :(NSError**)error;
78- (void) PrintTextArrayLF:(NSArray*)textarray :(
PrinterFont*)font :(NSError**)error;
79- (void) PrintText:(NSString*)text :(NSError**)error;
80- (void) PrintTextLF:(NSString*)text :(NSError**)error;
81- (void) PrintTextArrayLF:(NSArray*)textarray :(NSError**)error;
83- (void) PrintImage:(UIImage*)image :(NSInteger)leftAlign :(enum ImageScale)widthOption :(NSInteger)imgWidth :(NSError**)error;
84- (void) PrintImage:(UIImage*)image :(NSError**)error;
86- (void) PrintBarcodeText:(NSString*)brcText :(enum BarcodeType)brcType :(enum BarcodeHriType)brcHriType :(enum BarcodeJustification)brcJustification :(NSInteger)brcWidth :(NSInteger)brcHeight :(NSError**)error;
88- (void) PrintBarcodeData:(NSData*)brcData :(enum BarcodeType)brcType :(enum BarcodeHriType)brcHriType :(enum BarcodeJustification)brcJustification :(NSInteger)brcWidth :(NSInteger)brcHeight :(NSError**)error;
This the container class to hold the printer status
Definition: CustomPrinterStatus.h:18
Class definition for CUSTOM printers. Defines functionality to print text/image, read/write data to p...
Definition: CustomPrinter.h:21
This the container class to hold various font attributes
Definition: PrinterFont.h:18