Interface PaperSize<T extends PrintSettings>
- Type Parameters:
T
- the concrete print settings type
- All Known Subinterfaces:
PdfPrinter.HtmlSettings
,SystemPrinter.HtmlSettings
,SystemPrinter.PdfSettings
,SystemPrinter.Settings<T>
public interface PaperSize<T extends PrintSettings>
Allows configuring the paper size for printing.
Implemented by concrete PrintSettings
implementations that support configuring the
paper size for printing.
- Since:
- 7.13
-
Method Summary
-
Method Details
-
paperSize
Configures the paper size for printing.- Parameters:
paperSize
- the new paper size value- Returns:
- this instance
- Throws:
ObjectClosedException
- if the current printing operation has been completed- See Also:
-
paperSize
PaperSize paperSize()Returns the paper size used by the printer.- Throws:
ObjectClosedException
- if the current printing operation has been completed
-