Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.0
    • Component/s: None
    • Labels:
      None

      Description

      [imported from SourceForge]
      http://sourceforge.net/tracker/index.php?group_id=78314&atid=552832&aid=1435244
      Originally submitted by nobody on 2006-02-20 06:55.

      Pdfbox does not detect the paper format of the PDF. It
      always says "Orientation 1" even after changing it from
      java:
      document.getPageFormat(0).setOrientation(PageFormat.LANDSCAPE);

      and alternates between "Height 595.0, Width 842.0" and
      "Height 842.0, Width 595.0" (which both is A1 if
      interpreted as mm)

      I tried several PDF-Creators (itext, Openoffice), but
      the Pdfbox always wants to print LETTER in PORTRAIT
      orientation. (the pages are A4)

      Settings the orientation in the printer dialog does not
      help.

      I believe it get's its info from:
      /Rotate 90/MediaBox[0 0 595 842]

      regards,

      JPT, j.p.t.@gmx.net
      (pdfbox 0.7.2, itext 1.3.6)

        Attachments

        1. word-landscape.pdf
          27 kB
          Damien Rowley
        2. pentahoReport.pdf
          2 kB
          Omar Carvajal
        3. jira_PDFBOX-137_PDDocument.diff
          2 kB
          Damien Rowley
        4. acrobat-landscape.pdf
          7 kB
          Damien Rowley

          Issue Links

            Activity

              People

              • Assignee:
                lehmi Andreas Lehmkühler
                Reporter:
                Anonymous
              • Votes:
                3 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: