Uses of Class
net.sf.paperclips.PrintJob
-
Packages that use PrintJob Package Description net.sf.paperclips Core classes for creating printable documents. -
-
Uses of PrintJob in net.sf.paperclips
Methods in net.sf.paperclips that return PrintJob 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.Methods in net.sf.paperclips with parameters of type PrintJob Modifier and Type Method Description static PageEnumeration
PaperClips. getPageEnumeration(PrintJob printJob, org.eclipse.swt.printing.Printer printer, org.eclipse.swt.graphics.GC gc)
Returns aPageEnumeration
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.
-