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

Label barcode is missing or drawn as black box when printing on landscape

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.21
    • None
    • None
    • None

    Description

      Trying to print pdf label using pdfbox. When landscape page format is used barcode on the label disappears or is drawn as black box. 

      I have attached source label and pdf results when trying to print to "Microsoft Print to PDF". I'm having same issue with label printer. portrait.pdf looks fine, while landscape.pdf is missing the barcode. I have also attached maven project to recreate the issue.

      Attachments

        1. label.pdf
          26 kB
          Mindaugas Kilius
        2. portrait.pdf
          41 kB
          Mindaugas Kilius
        3. pdfbox-label-bug.zip
          19 kB
          Mindaugas Kilius
        4. landscape.pdf
          41 kB
          Mindaugas Kilius

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mkilius Mindaugas Kilius
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: