Package | Description |
---|---|
org.eclipse.swt.printing |
Modifier and Type | Method and Description |
---|---|
static PrinterData |
Printer.getDefaultPrinterData()
Returns a
PrinterData object representing
the default printer or null if there is no
default printer. |
PrinterData |
Printer.getPrinterData()
Returns a
PrinterData object representing the
target printer for this print job. |
PrinterData |
PrintDialog.getPrinterData()
Returns the printer data that will be used when the dialog
is opened.
|
static PrinterData[] |
Printer.getPrinterList()
Returns an array of
PrinterData objects
representing all available printers. |
PrinterData |
PrintDialog.open()
Makes the receiver visible and brings it to the front
of the display.
|
Modifier and Type | Method and Description |
---|---|
void |
PrintDialog.setPrinterData(PrinterData data)
Sets the printer data that will be used when the dialog
is opened.
|
Constructor and Description |
---|
Printer(PrinterData data)
Constructs a new printer given a
PrinterData
object representing the desired printer. |
Copyright © 2017. All Rights Reserved.