打印服务

使用打印服务前, 需要获取INewlandPrinterManager. 点击参考

//发起打印, 打印脚本内容,xml脚本模板支持同时打印图片,文本,条码等
void print(PrinterIdentify identify,String xml,Map<String,String> values,INewlandPrintCallback callback);
//发起打印, 打印脚本内容,script脚本支持同时打印图片,文本,条码等
void print(PrinterIdentify identify,PrinterScript script,INewlandPrintCallback callback);
//获取支持的打印机列表
void getSupportPrinters(INewlandSupportPrintersCallback callback);
//打开打印机管理界面
void displayManageView(INewlandSupportPrintersCallback callback);
//走纸
void feedLine(PrinterIdentify identify,int n,INewlandPrintCallback callback);
//打印图片内容
void printImage(PrinterIdentify identify,Image image,INewlantPrintCallback callback);
//打印条码内容
void printBarcode(PrinterIdentify identify,Barcode barcode,INewlandPrintCallback callback);
//打印二维码内容
void printQrcode(PrinterIdentify identify,Qrcode qrcode,INewlandPrintCallback callback);
//打印文本内容
void printText(PrinterIdentify identify,Text text,INewlandPrintCallback callback);

results matching ""

    No results matching ""