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

AcroFrom fields (values) invisible when printing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2
    • 2.0.3, 3.0.0 PDFBox
    • AcroForm
    • None

    Description

      AcrobatReader/FoxitReader/... won't print values of e.g. AcroForm TextFields within a PDF created with PDFBox. Neither the print-preview shows the values within the fields, nor does the printed result.

      Minimal example to reproduce:
      the one provided within the repository:

      https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleForm.java

      Also had this issue with 1.8.x versions but maybe my code just wasn't correct..

      Attachments

        1. pdfTemplate-pdfbox.pdf
          21 kB
          Maruan Sahyoun
        2. pdfTemplate.saved.pdfbox.2.0.2.pdf
          21 kB
          João da Nóbrega
        3. pdfTemplate.saved.pdfbox.1.8.12.pdf
          21 kB
          João da Nóbrega
        4. pdfTemplate.printed.pdfbox.2.0.2.pdf
          26 kB
          João da Nóbrega
        5. pdfTemplate.printed.pdfbox.1.8.12.pdf
          14 kB
          João da Nóbrega
        6. pdfTemplate.pdf
          21 kB
          João da Nóbrega
        7. pdfTemplate_2.odt
          10 kB
          João da Nóbrega

        Activity

          People

            msahyoun Maruan Sahyoun
            kazu kazu
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: