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(); */ }