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

Stephen Threlfall-Rogers commented on PDFBOX-4010:
--------------------------------------------------

I have changed 
{{PDFPageable(pdfBoxDocument)}}
to be 
{{PDFPageable(pdfBoxDocument,orient,false,300f)}}
where *orient* is the Orientation required for the page (also specified in the 
PrintRequestAttributes)

and it works fine on the label at this end.
I will check through our other prints to make sure that other prints work OK, 
but in the meantime that looks like a great workaround - thank you. 

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to