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");