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

ASF subversion and git services commented on PDFBOX-5994:
---------------------------------------------------------

Commit 1925248 from Tilman Hausherr in branch 'pdfbox/branches/3.0'
[ https://svn.apache.org/r1925248 ]

PDFBOX-5994: use workaround to combine tray and media size

> Support printing options combining tray and media size
> ------------------------------------------------------
>
>                 Key: PDFBOX-5994
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5994
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 3.0.4 PDFBox
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>             Fix For: 3.0.5 PDFBox
>
>
> Combining tray and media size isn't supported in java because one attribute 
> added later overrides the previous one because both belong to the same enum. 
> There is a workaround but this one uses an internal class, which is 
> considered a no-no after jdk1.8, so I'll add it for 3.0 and 1.8 only. (It 
> also works on jdk11 but brings a scary warning)
> https://kbdeveloper.qoppa.com/selecting-both-tray-and-paper-size-when-printing-in-java/



--
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