Job.setNumberOfCopies method
setNumberOfCopies
void setNumberOfCopies(int numberOfCopies) throws IllegalArgumentException
Sets the number of copies to be printed.
Specifies the number of identical copies produced with one call to print. The default value is 1.
Parameters
| Parameter / type | Description |
|---|---|
numberOfCopiesint |
The number of copies to be printed |
Exceptions
| Name | Description |
|---|---|
IllegalArgumentException |
An error is raised in case of a negative value. |