I think it might. I see the source code for that class in the src.zip file of my Eclipse Temurin OpenJDK 11 distribution, so presumably it's included in binary as well.
On Wed, Apr 23, 2025 at 6:56 AM Tilman Hausherr <thaush...@t-online.de> wrote: > Here is a wild solution for that problem: > > https://kbdeveloper.qoppa.com/selecting-both-tray-and-paper-size-when-printing-in-java/ > > The exact class is sun.print.SunAlternateMedia, but this might not work > in newer JDKs. > > Tilman > >