I am currently in a process of printing different pages of a PDF to multiple trays in a single print job. Lets assume there are 10 pages. First 3 pages are to be printed using paper from Tray 1, next four using Tray 2 and the remaining from Tray 1.
1
votes
Welcome to Stack Overflow! We encourage you to research your questions. If you've tried something already, please add it to the question - if not, research and attempt your question first, and then come back.
– user647772
Check out blog.idrsolutions.com/2010/01/printing-pdf-files-from-java for printing PDF from Java
– MadProgrammer
1 Answers
0
votes
I had the same problem and came sadly to the conclusion that this is simple not supported by the java API.
There are other printing libraries, that may support this like Cups4J for Linux systems. But this wasn't an option for me, so i ended up with splitting the printjob in two printjobs and print every job on a different mediatray.