public interface Printer
Modifier and Type | Method and Description |
---|---|
IPointDocument |
getPointDocument()
Return the IPointDocument IF the output is compatible (e.g. a PDF document).
|
Handle |
print(Printable printable,
PageFormat format,
PrintOptions options)
Start the process of printing and return a Handle to monitor or stop the operation.
|
Handle |
print(PrintTask pt)
Start the process of printing and return a Handle to monitor or stop the operation.
|
Handle |
printDialog(WindowSurface parent)
This displays the printer select/setup dialog box, which may be a native OS
dialog box.
|
void |
setPrinterProperties(PrinterProperties pp) |
IPointDocument getPointDocument()
Handle print(Printable printable, PageFormat format, PrintOptions options)
printable
- the Printable object to print.format
- An optional PageFormat object.options
- An optional PrintOptions object.Handle print(PrintTask pt)
pt
- an PrintTask object.Handle printDialog(WindowSurface parent)
parent
- The parent WindowSurface - which can be null.void setPrinterProperties(PrinterProperties pp)