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

Poor quality printing of PDF label

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3, 2.0.13, 2.0.14
    • 2.0.14, 3.0.0 PDFBox
    • Rendering
    • 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. label.pdf
          60 kB
          David Hancock
        2. label-pdfbox-1-8.jpg
          326 kB
          David Hancock
        3. label-pdfbox-2-0.jpg
          322 kB
          David Hancock
        4. label.png
          34 kB
          Tilman Hausherr
        5. before_after.png
          59 kB
          Tres Finocchiaro
        6. comparison.png
          11 kB
          Tres Finocchiaro

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: