Return-Path: Delivered-To: apmail-pdfbox-dev-archive@www.apache.org Received: (qmail 53472 invoked from network); 1 Mar 2010 18:35:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Mar 2010 18:35:27 -0000 Received: (qmail 13806 invoked by uid 500); 1 Mar 2010 18:35:26 -0000 Delivered-To: apmail-pdfbox-dev-archive@pdfbox.apache.org Received: (qmail 13770 invoked by uid 500); 1 Mar 2010 18:35:26 -0000 Mailing-List: contact dev-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pdfbox.apache.org Delivered-To: mailing list dev@pdfbox.apache.org Received: (qmail 13755 invoked by uid 99); 1 Mar 2010 18:35:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 18:35:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 18:35:26 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EF44D29A0018 for ; Mon, 1 Mar 2010 18:35:05 +0000 (UTC) Message-ID: <1264189418.38051267468505979.JavaMail.jira@brutus.apache.org> Date: Mon, 1 Mar 2010 18:35:05 +0000 (UTC) From: "Omar Carvajal (JIRA)" To: dev@pdfbox.apache.org Subject: [jira] Updated: (PDFBOX-137) Does not detect paper format MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PDFBOX-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Omar Carvajal updated PDFBOX-137: --------------------------------- Attachment: pentahoReport.pdf I tried this again with the 1.0.0 version as well as the trunk and I still cannot get the PDF to print properly. I attached a PDF document generated from Pentaho from which I still get the same result. Any ideas? Cheers, Omar > Does not detect paper format > ---------------------------- > > Key: PDFBOX-137 > URL: https://issues.apache.org/jira/browse/PDFBOX-137 > Project: PDFBox > Issue Type: Bug > Attachments: acrobat-landscape.pdf, jira_PDFBOX-137_PDDocument.diff, pentahoReport.pdf, word-landscape.pdf > > > [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) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.