add Total Pieces in master bundle barcode
parent
2409930d90
commit
b06178cdb4
|
@ -230,11 +230,11 @@ public class BarcodeService {
|
|||
bufferedImages.add(a4Image);
|
||||
}
|
||||
saveA4ImageToPDF(bufferedImages,bundlePath);
|
||||
// try {
|
||||
// printPDF(bundleIpAddress, bundlePath);
|
||||
// } catch (Exception e) {
|
||||
// e.printStackTrace();
|
||||
// }
|
||||
try {
|
||||
printPDF(bundleIpAddress, bundlePath);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public void printPDF(String printerIP, String pdfFilePath) throws Exception {
|
||||
|
|
Loading…
Reference in New Issue