Tilman Hausherr created PDFBOX-5994:
---------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]