Package | Description |
---|---|
net.sf.paperclips |
Core classes for creating printable documents.
|
Modifier and Type | Method | Description |
---|---|---|
PrintJob |
PrintJob.setMargins(int margins) |
Sets the top, left, right, and bottom margins to the argument.
|
PrintJob |
PrintJob.setMargins(Margins margins) |
Sets the page margins.
|
PrintJob |
PrintJob.setOrientation(int orientation) |
Sets the page orientation.
|
Modifier and Type | Method | Description |
---|---|---|
static PageEnumeration |
PaperClips.getPageEnumeration(PrintJob printJob,
org.eclipse.swt.printing.Printer printer,
org.eclipse.swt.graphics.GC gc) |
Returns a
PageEnumeration for the passed in PrintJob on the given
Printer, using the given GC. |
static PrintPiece[] |
PaperClips.getPages(PrintJob printJob,
org.eclipse.swt.printing.Printer printer) |
Processes the print job and returns an array of pages for the given
printer device.
|
static void |
PaperClips.print(PrintJob printJob,
org.eclipse.swt.printing.Printer printer) |
Prints the print job to the given printer.
|
static void |
PaperClips.print(PrintJob printJob,
org.eclipse.swt.printing.PrinterData printerData) |
Prints the print job to the given printer.
|