[
https://issues.apache.org/jira/browse/PDFBOX-2922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14679712#comment-14679712
]
Pei-Tang Huang commented on PDFBOX-2922:
----------------------------------------
1. The orientation problem we encountered is on printing landscape documents,
the document [^landscape.pdf] is in A4 landscape format, the paper loaded in
printer is A4 portrait, we update our code to align to the change made in
PDFBOX-2844. However, the landscape document won't print correctly after then.
I tried several combination of PDFPrintable/PDFPageable attributes and
PrintRequestAttributes. Only {{PDFPrintable}} with
{{PrintRequestAttribute[OrientationRequest] = LANDSCAPE}} printed out as
desired as following:
!success.jpg|width=800,height=600!
and all other combination all failed like:
!rotated_cropping_failed.jpg|width=800,height=600!
2. *set the graphics origin to the origin of the imageable area (i.e the
margins)* and *center on page* may not work on paper with *pre printed*
materials, in those case, every millimeter matters.
> Make PDFPrintable and PDFPageable extandable
> --------------------------------------------
>
> Key: PDFBOX-2922
> URL: https://issues.apache.org/jira/browse/PDFBOX-2922
> Project: PDFBox
> Issue Type: Improvement
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: Pei-Tang Huang
> Assignee: John Hewson
> Attachments: landscape.pdf, rotated_cropping_failed.jpg, success.jpg
>
>
> Would you please remove the {{final}} modifier from {{PDFPrintable}} and
> {{PDFPageable}} so that one can extending those classes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]