PdfT
- the type of the settings available when printing on the PDF printerSystemT
- the type of the settings available when printing on a system printerpublic interface Printers<PdfT extends PrintSettings,SystemT extends PrintSettings>
Modifier and Type | Method and Description |
---|---|
java.util.Optional<SystemPrinter<SystemT>> |
defaultPrinter()
Returns the default system printer or an empty
Optional if
there is no default printer. |
java.util.List<SystemPrinter<SystemT>> |
list()
Returns an immutable list of the available system printers.
|
PdfPrinter<PdfT> |
pdfPrinter()
Returns a
PdfPrinter instance that allows you to print to PDF. |
PdfPrinter<PdfT> pdfPrinter()
PdfPrinter
instance that allows you to print to PDF.java.util.Optional<SystemPrinter<SystemT>> defaultPrinter()
Optional
if
there is no default printer.java.util.List<SystemPrinter<SystemT>> list()