Browse Source

20241120

dev
qiezi 1 year ago
parent
commit
7861950d9f
  1. 5
      src/printFormat/logisticLabel.js

5
src/printFormat/logisticLabel.js

@ -71,13 +71,14 @@ export const printLogisticLabel = (printList, printerName) => {
LODOP.SET_PRINT_STYLEA(0,"Bold",1); LODOP.SET_PRINT_STYLEA(0,"Bold",1);
if (row.invoiceNo){ if (row.invoiceNo){
LODOP.ADD_PRINT_TEXT(123,80,80,20,"Invoice No.")
LODOP.ADD_PRINT_TEXT(128,126,80,20,"Invoice")
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); LODOP.SET_PRINT_STYLEA(0,"FontName","Arial");
LODOP.SET_PRINT_STYLEA(0,"FontSize",10); LODOP.SET_PRINT_STYLEA(0,"FontSize",10);
LODOP.ADD_PRINT_TEXT(125,175,200,20,row.invoiceNo) LODOP.ADD_PRINT_TEXT(125,175,200,20,row.invoiceNo)
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); LODOP.SET_PRINT_STYLEA(0,"FontName","Arial");
LODOP.SET_PRINT_STYLEA(0,"FontSize",10);
LODOP.SET_PRINT_STYLEA(0,"FontSize",14);
LODOP.SET_PRINT_STYLEA(0,"Bold",1);
} }
LODOP.PRINT(); LODOP.PRINT();

Loading…
Cancel
Save