This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I am looking for a Java solution that will enable me to have control over the printer tray to which my application prints. Thanks.
Cheers, Jack
Stuart Gray
Ranch Hand
Joined: Apr 21, 2005
Posts: 410
posted
0
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).
Ganapathy Kumar
Greenhorn
Joined: Jun 17, 2007
Posts: 2
posted
0
Hi All,
I have the same problem.. i tried selecting a tray from a printer...
using MediaTray .. was not able to do so.. the print was from a