[ 
https://issues.apache.org/jira/browse/PDFBOX-788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jukka Zitting updated PDFBOX-788:
---------------------------------

    Attachment: PDPageable.patch

The attached patch (PDPageable.patch) addresses the NPE issue in a relatively 
clean fashion by introducing a new PDPageable adapter class that should be used 
instead of directly accessing the Pageable methods in PDDocument.

> PrintPDF does not take the windows default printer orientation into account
> ---------------------------------------------------------------------------
>
>                 Key: PDFBOX-788
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-788
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>         Environment: Windows XP at least
>            Reporter: Christophe Borivant
>            Assignee: Jukka Zitting
>             Fix For: 1.3.0
>
>         Attachments: PDDocument.patch, PDFBOX-788.diff, PDPageable.patch
>
>
> We have 2 printers, the first one is defined to print in Portrait by default 
> in Windows, the other one is defined to print in Landscape by default in 
> Windows.
> PrintPDF does not take the default configuration into account.
> I wrote a little patch that seems to solve this bug

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to