This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Look in the packages javax.print and javax.print.attribute. Perhaps the class javax.print.attribute.standard.MediaTray can help you here. It does not let you specify a tray per se, but rather a tray that contains a particular type of media (e.g. A4 paper).