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

Tres Finocchiaro edited comment on PDFBOX-4435 at 1/18/19 6:51 PM:
-------------------------------------------------------------------

> "I can confirm the label prints fine when converting it to an image first as 
> per your last comment and printing via OS. My issue is we indirectly use 
> PDFBox though QZ-Tray for printing which means I've got no control over how 
> the printing of this PDF is handled internally.  I'll raise a ticket with 
> them and see if they can make use of any of the suggestions here."

 

The 3rd party app uses the PDFBOX API directly.  Coercing a good black/white 
image through a 600dpi command line render won't make it into the 3rd party 
product (I'm the developer).  We're always willing to add flags (or a code 
shim) to fix and/or advanced API settings, but the issue here appears to be 
that the PDF is force PDFBOX to a rasterized print which needs to be fixed 
either in the PDF or in the render.


was (Author: tresf):
[quote]"I can confirm the label prints fine when converting it to an image 
first as per your last comment and printing via OS. My issue is we indirectly 
use PDFBox though QZ-Tray for printing which means I've got no control over how 
the printing of this PDF is handled internally.  I'll raise a ticket with them 
and see if they can make use of any of the suggestions here."[/quote]

 

The 3rd party app uses the PDFBOX API directly.  Coercing a good black/white 
image through a 600dpi command line render won't make it into the 3rd party 
product (I'm the developer).  We're always willing to add flags (or a code 
shim) to fix and/or advanced API settings, but the issue here appears to be 
that the PDF is force PDFBOX to a rasterized print which needs to be fixed 
either in the PDF or in the render.

> Poor quality printing of PDF label
> ----------------------------------
>
>                 Key: PDFBOX-4435
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4435
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.3, 2.0.13, 2.0.14
>         Environment: Lubuntu 16.04, GK420d printer, CL-S400DT(Z) printer
>            Reporter: David Hancock
>            Priority: Major
>         Attachments: label-pdfbox-1-8.jpg, label-pdfbox-2-0.jpg, label.pdf, 
> label.png
>
>
> Hello,
> I'm experiencing poor quality printing of PDF courier labels with PDFBox when 
> printing from the command line with the following command:
> {noformat}
> java -jar pdfbox-app-*.jar PrintPDF label.pdf
> {noformat}
> This makes scanning the QR code on these labels troublesome.
> I've tried versions 2.0.3, 2.0.13, 2.0.14 (SNAPSHOT) and all produce the same 
> quality issue. Interestingly version 1.8.16 does not appear to suffer from 
> this issue.
> I have tried 2 different thermal printers, a GK420d and a CITIZEN 
> CL-S400DT(Z) and both output the same.
> When printing the label directly from the GNOME document viewer (Evince) the 
> label prints clearly on both printers.
> Please find examples of these labels attached.
> Can anything be done to prevent these quality issues?
> Thanks,
> David



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to