From eb3c22e1a5c78c3f8bd2a8e8472cc8032850d7a9 Mon Sep 17 00:00:00 2001
From: yangzz <9704.yyds@163.com>
Date: Tue, 17 Nov 2026 11:58:30 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=A9=E7=BA=BF=E4=BA=A7=E5=93=81=E6=A0=87?=
=?UTF-8?q?=E7=AD=BE=E6=A8=A1=E6=9D=BF=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/printFormat/alphaHardTagPrintFormat.js | 4 +--
src/printFormat/antenna.js | 37 ++--------------------
src/printFormat/hardwareAntennaAutoSN.js | 8 ++---
3 files changed, 9 insertions(+), 40 deletions(-)
diff --git a/src/printFormat/alphaHardTagPrintFormat.js b/src/printFormat/alphaHardTagPrintFormat.js
index 1c81c27..5cbcaab 100644
--- a/src/printFormat/alphaHardTagPrintFormat.js
+++ b/src/printFormat/alphaHardTagPrintFormat.js
@@ -60,8 +60,8 @@ export function printAlphaHardTagLabel (printList, icons, printerName, flag) {
printCartonLabel(LODOP,row,icons,0) // 箱标签
}
}
- //LODOP.PRINT()
- LODOP.PRINT_DESIGN();
+ LODOP.PRINT()
+ //LODOP.PRINT_DESIGN();
}
//LODOP.PREVIEW();
diff --git a/src/printFormat/antenna.js b/src/printFormat/antenna.js
index 1c0c87e..3dff38c 100644
--- a/src/printFormat/antenna.js
+++ b/src/printFormat/antenna.js
@@ -54,8 +54,8 @@ export const printAntennaLabel = (printList, icons, printerName,flag,testFlag =
}
}
//LODOP.PREVIEW();
- //LODOP.PRINT();
- LODOP.PRINT_DESIGN();
+ LODOP.PRINT();
+ // LODOP.PRINT_DESIGN();
}
}
@@ -560,38 +560,7 @@ const template4 = (LODOP,row)=>{
LODOP.ADD_PRINT_IMAGE(sizeTop+34,161,193,40,`
`);
LODOP.SET_PRINT_STYLEA(0,"Stretch",2);
}
- if (row.pictureMap.P7){
- LODOP.ADD_PRINT_IMAGE(sizeTop+90,164,34,34,`
`);
- LODOP.SET_PRINT_STYLEA(0,"Stretch",2);
- }
- if (row.pictureMap.P8){
- LODOP.ADD_PRINT_IMAGE(sizeTop+89,213,97,25,`
`);
- LODOP.SET_PRINT_STYLEA(0,"Stretch",2);
- }
- if (row.pictureMap.P9){
- LODOP.ADD_PRINT_IMAGE(sizeTop+123,160,54,39,`
`);
- LODOP.SET_PRINT_STYLEA(0,"Stretch",2);
- }
- if (row.pictureMap.P10){
- LODOP.ADD_PRINT_IMAGE(sizeTop+110,251,55,51,`
`);
- LODOP.SET_PRINT_STYLEA(0,"Stretch",2);
- }
- if (row.pictureMap.P11){
- LODOP.ADD_PRINT_IMAGE(sizeTop+109,305,56,48,`
`);
- LODOP.SET_PRINT_STYLEA(0,"Stretch",2);
- }
- if (row.pictureMap.P12){
- LODOP.ADD_PRINT_IMAGE(sizeTop+134,5,113,17,`
`);
- LODOP.SET_PRINT_STYLEA(0,"Stretch",2);
- }
- if (row.pictureMap.P13){
- LODOP.ADD_PRINT_IMAGE(sizeTop+33,170,185,13,`
`);
- LODOP.SET_PRINT_STYLEA(0,"Stretch",2);
- }
- if (row.pictureMap.P14){
- LODOP.ADD_PRINT_IMAGE(sizeTop+163,157,194,17,`
`);
- LODOP.SET_PRINT_STYLEA(0,"Stretch",2);
- }
+
LODOP.ADD_PRINT_TEXT(sizeTop+15,166,214,15,"Refer to owner's manual regarding installation.");
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial");
LODOP.SET_PRINT_STYLEA(0,"FontSize",5);
diff --git a/src/printFormat/hardwareAntennaAutoSN.js b/src/printFormat/hardwareAntennaAutoSN.js
index 608be7f..4b94996 100644
--- a/src/printFormat/hardwareAntennaAutoSN.js
+++ b/src/printFormat/hardwareAntennaAutoSN.js
@@ -58,15 +58,15 @@ export const printAntennaAutoSNLabel = (printList) => {
printProductLabel(LODOP,row,row.printLabelType === 0?190:sizeTop)// 产品标签
}
if (row.printLabelType === 0 || i%2 === 1){
- //LODOP.PRINT();
- LODOP.PRINT_DESIGN();
+ LODOP.PRINT();
+ //LODOP.PRINT_DESIGN();
}
}
//LODOP.PREVIEW();
// 处理最后一张纸张只有一个标签时的情况
if (printList.length % 2 === 1 && printList[printList.length - 1].printLabelType !== 0) {
- //LODOP.PRINT();
- LODOP.PRINT_DESIGN();
+ LODOP.PRINT();
+ //LODOP.PRINT_DESIGN();
}
/* LODOP.PRINT_DESIGN(); */
}