Interface Copies<T extends PrintSettings>
- Type Parameters:
T
- the concrete print settings type
- All Known Subinterfaces:
SystemPrinter.HtmlSettings
,SystemPrinter.PdfSettings
,SystemPrinter.Settings<T>
public interface Copies<T extends PrintSettings>
Allows configuring the number of copies to print.
Implemented by concrete PrintSettings
implementations that support configuring the
number of copies to print.
- Since:
- 7.13
-
Method Summary
-
Method Details
-
copies
Configures the number of copies to print.- Parameters:
copies
- the copies number- Returns:
- this instance
- Throws:
IllegalArgumentException
- if the value exceeds the maximum number of copies that the printer can makeIllegalArgumentException
- if the copies number is less than oneObjectClosedException
- if the current printing operation has been completed- See Also:
-
copies
int copies()Returns the number of copies to print.- Throws:
ObjectClosedException
- if the current printing operation has been completed
-