You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2025/04/24 09:33:00 UTC
[jira] [Resolved] (PDFBOX-5994) Support printing options combining tray and media size
[ https://issues.apache.org/jira/browse/PDFBOX-5994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved PDFBOX-5994.
-------------------------------------
Resolution: Fixed
> 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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org