|
|
@ -30,11 +30,15 @@ export function printTCPPackageLabelNoPreview(printList) { |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.ADD_PRINT_TEXT(115,18,58,25,"FQC:"); |
|
|
|
|
|
|
|
|
LODOP.ADD_PRINT_TEXT(115,18,123,25,"FQC:"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.ADD_PRINT_TEXT(115,60,81,25,printData.inspector); |
|
|
|
|
|
|
|
|
LODOP.ADD_PRINT_TEXT(115,63,76,25,printData.inspector); |
|
|
|
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); |
|
|
|
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); |
|
|
|
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
|
|
|
LODOP.ADD_PRINT_TEXT(115,141,146,26,"Job No:"+printData.seqNo); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
@ -93,21 +97,22 @@ export function printTCPPackageLabelNoPreview(printList) { |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.ADD_PRINT_TEXT(115,141,146,26,"Job No:"+printData.seqNo); |
|
|
|
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); |
|
|
|
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); |
|
|
|
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
|
|
|
LODOP.ADD_PRINT_TEXT(115,274,99,25,"BAG:"+printData.tcpValue+"g"); |
|
|
|
|
|
|
|
|
// LODOP.ADD_PRINT_TEXT(113,229,144,26,"Job No:"+printData.seqNo);
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontName","Arial");
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"FontSize",12);
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"Alignment",3);
|
|
|
|
|
|
// LODOP.SET_PRINT_STYLEA(0,"Bold",1);
|
|
|
|
|
|
LODOP.ADD_PRINT_TEXT(113,229,144,26,"BAG:"+printData.tcpValue+"g"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",3); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",3); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.ADD_PRINT_TEXT(92,274,99,25,"SN:"+printData.printId); |
|
|
|
|
|
|
|
|
LODOP.ADD_PRINT_TEXT(92,257,99,25,"SN:"+printData.printId); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontName","Arial"); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); |
|
|
LODOP.SET_PRINT_STYLEA(0,"FontSize",12); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",3); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Alignment",3); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
LODOP.SET_PRINT_STYLEA(0,"Bold",1); |
|
|
if(printData.code=='CODE128') { |
|
|
|
|
|
|
|
|
if(printData.code==='CODE128') { |
|
|
LODOP.ADD_PRINT_BARCODE(40,143,236,23, "128A",printData.partSpec); |
|
|
LODOP.ADD_PRINT_BARCODE(40,143,236,23, "128A",printData.partSpec); |
|
|
}else { |
|
|
}else { |
|
|
LODOP.ADD_PRINT_BARCODE(40,143,236,23, "Code39",printData.partSpec); |
|
|
LODOP.ADD_PRINT_BARCODE(40,143,236,23, "Code39",printData.partSpec); |
|
|
|