View RSS Feed

Java AWT

Java Abstract Window Toolkit (AWT)

  1. Attribute Definitions

    by , 03-07-2012 at 06:50 PM
    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();