javax.print.attribute.standard
public final class Copies extends IntegerSyntax implements PrintJobAttribute, PrintRequestAttribute
Copies
printing attribute specifies the number
of copies to be printed.
Note: The effect of this attribute on jobs with multiple documents is controlled by the job attribute {@link javax.print.attribute.standard.MultipleDocumentHandling}.
IPP Compatibility: Copies is an IPP 1.1 attribute.
Constructor Summary | |
---|---|
Copies(int value)
Creates a Copies object.
|
Method Summary | |
---|---|
boolean | equals(Object obj)
Tests if the given object is equal to this object.
|
Class<? extends Attribute> | getCategory()
Returns category of this class.
|
String | getName()
Returns the name of this attribute.
|
Copies
object.
Parameters: value the number of copies
Throws: IllegalArgumentException if value < 1
Parameters: obj the object to test
Returns: true
if both objects are equal,
false
otherwise.
Returns: The class Copies
itself.
Returns: The name "copies".