Log.e(TAG, “printCPCL: =======>440”);
if (openBT == 0) {
Log.e(TAG, “printCPCL: =======>443”);
if (PrinterHelper.IsOpened()) {
Log.e(TAG, "run: " + PrinterHelper.IsOpened());
//连接成功
PrinterHelper.Align(PrinterHelper.CENTER);
PrinterHelper.SetBold(“1”);
PrinterHelper.SetMag(“2”, “2”);
PrinterHelper.Text(PrinterHelper.TEXT, “8”, “0”, “10”, “30”, “啦啦啦”)
PrinterHelper.SetMag(“1”, “1”);
PrinterHelper.SetBold(“0”);
PrinterHelper.InverseLine(“0”, “0”, “700”, “0”, “100”);
PrinterHelper.Text(PrinterHelper.TEXT, “8”, “0”, “0”, “130”, “啦啦啦”);
PrinterHelper.Text(PrinterHelper.TEXT, “3”, “0”, “0”, “160”, “啦啦啦”);
PrinterHelper.Text(PrinterHelper.TEXT, “3”, “0”, “0”, “190”, “啦啦啦”);
PrinterHelper.PrintQR(PrinterHelper.BARCODE, “10”, “240”, “2”, “16”, “eyJxcl90eXBlIjoic3RhZmYiL