You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/11/14 17:42:00 UTC

[jira] [Comment Edited] (PDFBOX-4010) A (rotated) barcode is missing from a pdf when printed

    [ https://issues.apache.org/jira/browse/PDFBOX-4010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16251800#comment-16251800 ] 

Tilman Hausherr edited comment on PDFBOX-4010 at 11/14/17 5:41 PM:
-------------------------------------------------------------------

I can reproduce it on W7 and W10 by "printing" on xps.

This reminds me of PDFBOX-3776 and PDFBOX-3729 but not really a duplicate. One difference is that your PDF is very simple so I created a reduced one. I will try to create some java code that doesn't use PDFBox to reproduce the error so that I can submit it to oracle.

Workaround for you: use the dpi parameter of PDFPageable. Set it to a good value, e.g. 300 or 600.


was (Author: tilman):
This reminds me of PDFBOX-3776 and PDFBOX-3729 but not really a duplicate. One difference is that your PDF is very simple so I created a reduced one. I will try to create some java code that doesn't use PDFBox to reproduce the error so that I can submit it to oracle.

Workaround for you: use the dpi parameter of PDFPageable. Set it to a good value, e.g. 300 or 600.

> A (rotated) barcode is missing from a pdf when printed
> ------------------------------------------------------
>
>                 Key: PDFBOX-4010
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4010
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.4, 2.0.8
>         Environment: windows 7 tested with Zebra GK420d Printer / HP Laserjet MFP  M277n 
>            Reporter: Stephen Threlfall-Rogers
>              Labels: print, printing
>         Attachments: PARCELFORCE_FTN0000892136.PDF, PDFBOX-4010-noprint-reduced.pdf, label via adobe.jpg, label via pdfbox.jpg
>
>
> A label provided to us as a PDF is failing to print properly when printed by a java program using pdfbox 2.0.4 - I upgraded to 2.0.8 same issue - I have also tried using the command line utility to test to check that it wasn;t something that I had coded incorrectly.. 
> The attached image with missing barcode is from the output of {{*java -jar pdfbox-app-2.0.8.jar PrintPDF c:\tmp\PARCELFORCE_FTN0000892136.PDF*}}. 
> The image with the barcode OK is from acrobat reader. The PDF is as sent to us.
> The original PDF is also attached/
> Any suggestions / fixes quite welcome :)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org