//
//  ESCPrinter.h
//  JXPrinterDemo
//
//  Created by 贾俊伟 on 2022/6/22.
//

#import <Foundation/Foundation.h>
#import <JXPrinter/JXPrinter.h>

NS_ASSUME_NONNULL_BEGIN

@interface ESCPrinter : NSObject

@property (nonatomic, assign) JXConnectType connectType;
@property (nonatomic, assign) int printWidth;

- (void)printAll;

//文字
- (void)drawText;

//一维条码
- (void)drawBarCode;

//二维码
- (void)drawQrCode;

//图片
- (void)drawGraphic;

//打印设置
- (void)printSetting;

@end

NS_ASSUME_NONNULL_END
