List of usage examples for javax.print.event PrintJobAttributeEvent getAttributes
public PrintJobAttributeSet getAttributes()
From source file:Main.java
public void attributeUpdate(PrintJobAttributeEvent pjae) { Attribute[] attrs = pjae.getAttributes().toArray(); for (int i = 0; i < attrs.length; i++) { String attrName = attrs[i].getName(); String attrValue = attrs[i].toString(); }/*from w w w . ja v a 2 s. c o m*/ }