Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4435

Poor quality printing of PDF label

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3, 2.0.13, 2.0.14
    • Fix Version/s: 2.0.14, 3.0.0 PDFBox
    • Component/s: Rendering
    • Labels:
    • Environment:
      Lubuntu 16.04, GK420d printer, CL-S400DT(Z) printer

      Description

      Hello,

      I'm experiencing poor quality printing of PDF courier labels with PDFBox when printing from the command line with the following command:

      java -jar pdfbox-app-*.jar PrintPDF label.pdf
      

      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

        Attachments

        1. before_after.png
          59 kB
          Tres Finocchiaro
        2. comparison.png
          11 kB
          Tres Finocchiaro
        3. label.pdf
          60 kB
          David Hancock
        4. label.png
          34 kB
          Tilman Hausherr
        5. label-pdfbox-1-8.jpg
          326 kB
          David Hancock
        6. label-pdfbox-2-0.jpg
          322 kB
          David Hancock

          Issue Links

            Activity

              People

              • Assignee:
                tilman Tilman Hausherr
                Reporter:
                david.hancock David Hancock
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: