Interface PageRanges<T extends PrintSettings>
- Type Parameters:
T
- the concrete print settings type
- All Known Subinterfaces:
PdfPrinter.HtmlSettings
,PdfPrinter.PdfSettings
,PdfPrinter.Settings<T>
,SystemPrinter.HtmlSettings
,SystemPrinter.PdfSettings
,SystemPrinter.Settings<T>
public interface PageRanges<T extends PrintSettings>
Allows configuring the page ranges to print.
Implemented by concrete PrintSettings
implementations that support configuring the
page ranges to print.
- Since:
- 7.13
-
Method Summary
Modifier and TypeMethodDescriptionReturns an immutable set containing the page ranges to print.pageRanges
(PageRange... pageRanges) Configures the page ranges to print.pageRanges
(Set<PageRange> pageRanges) Configures the page ranges to print.
-
Method Details
-
pageRanges
Configures the page ranges to print.- Parameters:
pageRanges
- the new page ranges- Returns:
- this instance
- Throws:
ObjectClosedException
- if the current printing operation has been completed
-
pageRanges
Configures the page ranges to print.- Parameters:
pageRanges
- the new page ranges- Returns:
- this instance
- Throws:
ObjectClosedException
- if the current printing operation has been completed
-
pageRanges
Returns an immutable set containing the page ranges to print.- Throws:
ObjectClosedException
- if the current printing operation has been completed
-