From 4a76965855cce1d72c1bdd2371688d1192cd707e Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Tue, 20 Aug 2024 13:21:45 +0800 Subject: [PATCH] 20240815 --- src/printFormat/alphaHardTagPrintFormat.js | 2 +- src/printFormat/roll_label.js | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/printFormat/alphaHardTagPrintFormat.js b/src/printFormat/alphaHardTagPrintFormat.js index 60e7283..ff48fae 100644 --- a/src/printFormat/alphaHardTagPrintFormat.js +++ b/src/printFormat/alphaHardTagPrintFormat.js @@ -89,7 +89,7 @@ export function printAlphaHardTagLabel (printList, icons, printerName) { LODOP.SET_PRINT_STYLEA(0,"FontSize",8); LODOP.SET_PRINT_STYLEA(0,"Alignment",3); - LODOP.ADD_PRINT_TEXT(85,372,50,20,row.weightUmName); + LODOP.ADD_PRINT_TEXT(85,321,50,20,row.weightUmName); LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); LODOP.SET_PRINT_STYLEA(0,"FontSize",8); } diff --git a/src/printFormat/roll_label.js b/src/printFormat/roll_label.js index 7b78bf6..3fb6d1a 100644 --- a/src/printFormat/roll_label.js +++ b/src/printFormat/roll_label.js @@ -83,14 +83,10 @@ export const print_roll_label = (printList,printerName)=>{ LODOP.SET_PRINT_STYLEA(0,"FontSize",4); LODOP.SET_PRINT_STYLEA(0,"Bold",1); - LODOP.ADD_PRINT_TEXT(55,95,80,20,row.rollNo); - LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); - LODOP.SET_PRINT_STYLEA(0,"FontSize",4); - LODOP.SET_PRINT_STYLEA(0,"Bold",1); if (row.rollLabelRequired === 'Y'){ LODOP.ADD_PRINT_TEXT(55,95,80,20,row.rollNo); }else if (row.serialNumberRequired === 'Y'){ - LODOP.ADD_PRINT_TEXT(55,100,80,20,row.serialNumber); + LODOP.ADD_PRINT_TEXT(55,95,80,20,row.serialNumber); } if (row.rollLabelRequired === 'Y' || row.serialNumberRequired === 'Y'){ LODOP.SET_PRINT_STYLEA(0,"FontName","Arial");