浏览代码

update: 散标打印格式调整2

huwanxiao 1 年之前
父节点
当前提交
74c050ad7d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/src/main/java/com/naz/sdkdemo/MainActivity.java

+ 1 - 1
app/src/main/java/com/naz/sdkdemo/MainActivity.java

@@ -1244,7 +1244,7 @@ public class MainActivity extends BaseActivity {
                         .text(currentHeight, mOffsetY*mPot+(5*mFontWidth), FNT_SIMPLIFIED_CHINESE, ROTATION_90, fontSizeMultiple,fontSizeMultiple, module.now_date);
             }
 
-            int qrX = (mOffsetX - 30) * mPot;
+            int qrX = (mOffsetX - 31) * mPot;
             int qrY = (mPaperHeight - 5 - 30) * mPot;
             printer.qrcode(qrX, qrY, TSPLConst.EC_LEVEL_H, 10, TSPLConst.QRCODE_MODE_MANUAL, TSPLConst.ROTATION_0, module.roll_qr_code);
             printer.print();