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

Tilman Hausherr commented on PDFBOX-6005:
-----------------------------------------

I just did a quick-and-dirty test by changing PDFPageable.java:
{code:java}
case LANDSCAPE:
    format.setOrientation(PageFormat.REVERSE_LANDSCAPE);
{code}
and this worked. However I didn't have a realistic landscape PDF to test. So 
this should be an easy change, although it will affect at least 2 files plus 
documentation.

> Support reverse landscape orientation for printing
> --------------------------------------------------
>
>                 Key: PDFBOX-6005
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6005
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 3.0.3 PDFBox, 3.0.5 PDFBox
>         Environment: Windows Server 2019 ; OpenJDK 18.0.2
>            Reporter: Nicolas DUFAILLY
>            Priority: Major
>              Labels: landscape, print, printing
>
> I currently use PDFBOX (3.x) to print PDF in my company towards printers 
> supplied with preprinted paper (company branding, legal elements and so on). 
> The same printers are addressed by other legacy softwares that also prints on 
> such papers.
>  
> Problems came for landscape orientation documents (preprinted paper is 
> landscaped). Documents printed from other softwares have heading oriented 
> (let's say) to the left whereas documents printed thru PDFBOX have header 
> oriented the opposite side (to the right so). Thus, half of the documents are 
> printed upside down regarding the paper preprinted elements.
>  
> As other legacy software are proprietary without evolution possibility, lone 
> foreseeable solution would be supporting printing a new way for the PDFBOX 
> printed documents.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to