Package com.teamdev.jxbrowser.print
Interface Printers<PdfT extends PrintSettings,SystemT extends PrintSettings>
- Type Parameters:
PdfT
- the type of the settings available when printing on the PDF printerSystemT
- the type of the settings available when printing on a system printer
public interface Printers<PdfT extends PrintSettings,SystemT extends PrintSettings>
Provides access to the available printers.
- Since:
- 7.13
-
Method Summary
Modifier and TypeMethodDescriptionReturns the default system printer or an emptyOptional
if there is no default printer.list()
Returns an immutable list of the available system printers.Returns aPdfPrinter
instance that allows you to print to PDF.
-
Method Details
-
pdfPrinter
PdfPrinter<PdfT> pdfPrinter()Returns aPdfPrinter
instance that allows you to print to PDF. -
defaultPrinter
Optional<SystemPrinter<SystemT>> defaultPrinter()Returns the default system printer or an emptyOptional
if there is no default printer. -
list
List<SystemPrinter<SystemT>> list()Returns an immutable list of the available system printers.
-