Attribute Definitions
by , 03-07-2012 at 05:50 PM (418 Views)
The javax.print.attribute.standard & javax.print.attribute packages details those attributes of prints that show the print service’s capabilities, requirement of print job or the progress of print job.
E.g, for using A4 paper format to print 3 copies, you shall construct following attributes set implementing
the PrintRequestAttributeSet interface:
Java Code:PrintRequestAttributeSet attr_set = new HashPrintRequestAttributeSet(); attr_set.add(MediaSize.ISO_A4); attr_set.add(new Copies(3));









Email Blog Entry
sorry for all the questions
thanks...
06-14-2013, 02:22 PM in gbonecapone