Interface PagesPerSheet<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 PagesPerSheet<T extends PrintSettings>
Allows configuring the number of pages per sheet.
Implemented by concrete PrintSettings
implementations that support configuring the
number of pages per sheet.
- Since:
- 7.13
-
Method Summary
Modifier and TypeMethodDescriptionReturns the number of pages per sheet.pagesPerSheet
(PagesPerSheet pagesPerSheet) Configures the number of pages per sheet.
-
Method Details
-
pagesPerSheet
Configures the number of pages per sheet.- Parameters:
pagesPerSheet
- the new number of pages per sheet- Returns:
- this instance
- Throws:
ObjectClosedException
- if the current printing operation has been completed
-
pagesPerSheet
PagesPerSheet pagesPerSheet()Returns the number of pages per sheet.- Throws:
ObjectClosedException
- if the current printing operation has been completed
-