Specifying output bin/tray when printing through javax.print
Is there a way to choose which output bin/tray is used when printing in Java? There is a an attribute MediaTray which allows you to pick the input tray, but I am unable to find one that allows you to choose ou开发者_开发问答tput.
In addition to MediaTray, there is a Destination attribute in the Print Service API:
The Destination attribute allows you to redirect your print data to a file rather than sending it to a printer device.
I hope it helps you.
精彩评论