[ 
https://issues.apache.org/jira/browse/PDFBOX-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12904544#action_12904544
 ] 

Andreas Lehmkühler commented on PDFBOX-788:
-------------------------------------------

+1, I already had the same idea, but in another context. PDFBOX-586 adresses 
text extraction on android and the main approach to achieve that seems to split 
PDFBox in several components and to minimize (in the ong run avoid) the usage 
of java.awt stuff within the text extraction part. If it comes to printing I'd 
like to move the affected code into separate classes. In addition to Jukka's 
proposal we should also move the implementation of the java.awt.print.Printable 
interface from PDPage to a second class(PDPrintable) or to a new class 
combining both interfaces.

> 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