[ https://issues.apache.org/jira/browse/PDFBOX-2551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241569#comment-14241569 ]
Tilman Hausherr commented on PDFBOX-2551: ----------------------------------------- and printing: {code} PrinterJob printJob = PrinterJob.getPrinterJob(); printJob.setJobName(new File(pdfFile).getName()); PDFPrinter printer = new PDFPrinter(document); printer.silentPrint(printJob); {code} > Wrong barcode printing for embedded font > ---------------------------------------- > > Key: PDFBOX-2551 > URL: https://issues.apache.org/jira/browse/PDFBOX-2551 > Project: PDFBox > Issue Type: Bug > Components: Rendering > Affects Versions: 1.8.7 > Reporter: Andriy > Attachments: barcode_printing_problem.pdf, print_result.pdf > > > Couldn't print file with embedded font "code 128". Code for printing: > PDDocument document = load(new > FileInputStream("barcode_printing_problem.pdf")); > PrinterJob printJob = getPrinterJob(); > printJob.setPrintService(getPrinter("MY_PRINTER)); > document.silentPrint(printJob); -- This message was sent by Atlassian JIRA (v6.3.4#6332)