[ https://issues.apache.org/jira/browse/PDFBOX-5601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722414#comment-17722414 ]
Tres Finocchiaro commented on PDFBOX-5601: ------------------------------------------ > I can't help much here, because I don't own a mac. Please play with this code > to find out if there is something that works for printers on all systems. For starters, I'm working from `pdfbox` just to see if there was any observable differences... I added the following debug line to the code... {code:java} if (deviceType == GraphicsDevice.TYPE_PRINTER && image.getType() != BufferedImage.TYPE_4BYTE_ABGR) { LOG.info("Type: " + image.getType()); // ### DEBUG LINE ADDED HERE ###{code} I'm not sure if this is helpful at all, but at a glance is odd... Mac: {code:java} INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 {code} Windows: {code:java} INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 {code} Linux: {code:java} INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 INFO: Type: 1 INFO: Type: 1 INFO: Type: 1 INFO: Type: 2 {code} > Barcode corrupted when printing document > ---------------------------------------- > > Key: PDFBOX-5601 > URL: https://issues.apache.org/jira/browse/PDFBOX-5601 > Project: PDFBox > Issue Type: Bug > Components: Rendering > Affects Versions: 2.0.27, 2.0.28, 3.0.0 PDFBox > Reporter: Tres Finocchiaro > Priority: Major > Labels: print, printing > Attachments: 234457694-edit.pdf, > PDFBOX-5601-badbarcodeprint-reduced.pdf, PDFBOX-5601-original-barcode.png, > jpeg.jpg, preview.png, screenshot-1.png, screenshot-2.png > > > When printing the attached document, the barcode on the left side is > corrupted. Please see preview of desired versus actual. > !preview.png! > * This does not occur when printing with other applications > * This issue also occurs on the latest 3.0 alpha version > {code:java} > java -jar pdfbox-app-2.0.27.jar PrintPDF 234457694-edit.pdf > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org