9 #ifndef CUSTOMPRINTER_H_
10 #define CUSTOMPRINTER_H_
12 #import <Foundation/Foundation.h>
13 #import "PrinterStatus.h"
14 #import "PrinterFont.h"
15 #import <UIKit/UIKit.h>
283 - (Boolean) IsPrinterOnline:(NSError**)error;
290 - (NSInteger) GetPrinterId:(NSError**)error;
297 - (NSString*) GetFirmwareVersion:(NSError**)error;
310 - (NSData*) GetPrinterFullStatusBuffer:(NSError**)error;
336 - (NSInteger) GetReadTimeout:(NSError**)error;
343 - (void) SetReadTimeout:(NSInteger)msecs :(NSError**)error;
350 - (NSInteger) GetWriteTimeout:(NSError**)error;
357 - (void) SetWriteTimeout:(NSInteger)msecs :(NSError**)error;
363 - (void) Close:(NSError**)error;
381 - (void) ClearReadBuffer:(NSError**)error;
388 - (NSData *) ReadData:(NSError**)error;
395 - (void) WriteData:(NSData *)data :(NSError**)error;
402 - (void) Feed:(NSInteger)nFeeds :(NSError**)error;
414 - (void) Cut:(enum
CutType)cutType :(NSError**)error;
426 - (void) Eject:(enum
EjectType)ejectType :(NSError**)error;
433 - (void) Present:(NSInteger)presentMM :(NSError**)error;
443 - (void) PrintText:(NSString*)text :(NSInteger)pixel_la :(NSInteger)pixel_w :(
PrinterFont*)font :(NSError**)error;
453 - (void) PrintTextLF:(NSString*)text :(NSInteger)pixel_la :(NSInteger)pixel_w :(
PrinterFont*)font :(NSError**)error;
461 - (void) PrintText:(NSString*)text :(
PrinterFont*)font :(NSError**)error;
469 - (void) PrintTextLF:(NSString*)text :(
PrinterFont*)font :(NSError**)error;
476 - (void) PrintText:(NSString*)text :(NSError**)error;
483 - (void) PrintTextLF:(NSString*)text :(NSError**)error;
505 - (void) PrintImage:(UIImage*)image :(NSInteger)leftAlign :(enum
ImageScale)widthOption :(NSInteger)imgWidth :(NSError**)error;
512 - (void) PrintImage:(UIImage*)image :(NSError**)error;