Package net.sf.paperclips
Class PrintUtil
java.lang.Object
net.sf.paperclips.PrintUtil
Deprecated.
Deprecated class methods for printing documents--use the
PaperClips
class instead.- Author:
- Matthew Hall
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated.UsePaperClips.print(PrintJob, PrinterData)instead.static voidDeprecated.UsePaperClips.print(PrintJob, PrinterData)instead.static voidDeprecated.usePaperClips.print(PrintJob, PrinterData)instead.static voidDeprecated.usePaperClips.print(PrintJob, PrinterData)instead.static voidDeprecated.UsePaperClips.print(PrintJob, PrinterData)instead.static voidDeprecated.UsePaperClips.print(PrintJob, PrinterData)instead.static voidDeprecated.UsePaperClips.print(PrintJob, PrinterData)instead.static voidDeprecated.UsePaperClips.print(PrintJob, PrinterData)instead.static voidDeprecated.UsePaperClips.print(PrintJob, PrinterData)instead.static voidDeprecated.UsePaperClips.print(PrintJob, PrinterData)instead.
-
Method Details
-
print
Deprecated.usePaperClips.print(PrintJob, PrinterData)instead.Prints the argument to the default printer with 1" margins. The Print's toString() result will be used as the print job name.- Parameters:
print- the item to print.
-
print
Deprecated.usePaperClips.print(PrintJob, PrinterData)instead.Prints the argument to the default printer. The Print's toString() result will be used as the print job name.- Parameters:
print- the item to print.margins- the page margins, in points.
-
printTo
Deprecated.UsePaperClips.print(PrintJob, PrinterData)instead.Prints the argument to the given printer with 1" margins. The Print's toString() result will be used as the print job name.- Parameters:
printer- the device to print on.print- the item to print.
-
printTo
Deprecated.UsePaperClips.print(PrintJob, PrinterData)instead.Prints the argument to the given printer. The Print's toString() result will be used as the print job name.- Parameters:
printer- the device to print on.print- the item to print.margins- the page margins, in points.
-
print
Deprecated.UsePaperClips.print(PrintJob, PrinterData)instead.Prints the argument to the default printer with 1" margins.- Parameters:
jobName- the print job name.print- the item to print.
-
print
Deprecated.UsePaperClips.print(PrintJob, PrinterData)instead.Prints the argument to the default Printer.- Parameters:
jobName- the print job name.print- the item to print.margins- the page margins, in points. 72 pts = 1".
-
printTo
public static void printTo(String jobName, org.eclipse.swt.printing.PrinterData printerData, Print print) Deprecated.UsePaperClips.print(PrintJob, PrinterData)instead.Prints the argument to the given printer, with 1" margins.- Parameters:
jobName- the print job name.printerData- the printer to print to.print- the item to print.
-
printTo
public static void printTo(String jobName, org.eclipse.swt.printing.PrinterData printerData, Print print, int margins) Deprecated.UsePaperClips.print(PrintJob, PrinterData)instead.Prints the argument to the given printer.- Parameters:
jobName- the print job name.printerData- PrinterData of the printer to print to.print- the item to print.margins- the page margins, in points. 72 pts = 1".
-
printTo
Deprecated.UsePaperClips.print(PrintJob, PrinterData)instead.Prints the argument to the given printer with 1" margins.- Parameters:
jobName- the print job name.printer- the device to print on.print- the item to print.
-
printTo
public static void printTo(String jobName, org.eclipse.swt.printing.Printer printer, Print print, int margins) Deprecated.UsePaperClips.print(PrintJob, PrinterData)instead.Print the argument to the given Printer.- Parameters:
jobName- the print job name.printer- the device to print on.print- the item to print.margins- the page margins, in points. 72 pts = 1".
-
PrintJobinstances, and print them with thePaperClips.print(PrintJob, PrinterData)method.