Package | Description |
---|---|
javafx.print |
Provides the public classes for the JavaFX Printing API.
|
Modifier and Type | Method and Description |
---|---|
static Printer |
Printer.getDefaultPrinter()
Retrieve the default printer.
|
Printer |
PrinterJob.getPrinter()
Gets the printer currently associated with this job.
|
Modifier and Type | Method and Description |
---|---|
static ReadOnlyObjectProperty<Printer> |
Printer.defaultPrinterProperty()
A read only object property representing the current default printer.
|
static ObservableSet<Printer> |
Printer.getAllPrinters()
Retrieve the installed printers.
|
ObjectProperty<Printer> |
PrinterJob.printerProperty()
Property representing the
Printer for this job. |
Modifier and Type | Method and Description |
---|---|
static PrinterJob |
PrinterJob.createPrinterJob(Printer printer)
Factory method to create a job for a specified printer.
|
void |
PrinterJob.setPrinter(Printer printer)
Change the printer for this job.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.