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

PDFMergerUtility

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.1
    • 1.7.0
    • Utilities
    • None
    • JDK 1.6.0_22

    Description

      I concatenate PDFs with the PDFMergerUtility. As long as I concat my (with FOP) created PDFs that are in "PDF 1.4" format, I get no issue when viewing the result. But when one of the PDFs is a "PDF 1.2" document, the resulting PDF will also have "PDF 1.2" version. When viewing this concatenated PDF in Acrobat Reader (9), the first (originally PDF-1.2) document gets viewed without errors, but as soon as I scroll further to the second page (with the other PDF-1.4 PDFs), I get errors like

      "Fehler auf dieser Seite. Die Seite wird unter Umständen nicht richtig in Acrobat angezeigt. Wenden Sie sich an den Ersteller des PDF-Dokuments, um das Problem zu beheben." (Roughly: errors on this page.)

      or

      "Ungültiger Parameter." (Roughly: invalid parameter.)

      Note: when concatenated with iText 2.1.7, the resulting PDF has version "1.4" and no errors occur in Adobe Reader.

      Is it possible to tell the merger to set the PDF Version of the result PDF?

      Attachments

        Activity

          People

            lehmi Andreas Lehmkühler
            mhilpert MH
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: