Class FPMIPrinterJob
java.lang.Object
java.awt.print.PrinterJob
com.inductiveautomation.factorypmi.application.print.FPMIPrinterJob
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcancel()defaultPage(PageFormat page) intstatic FPMIPrinterJobbooleanpageDialog(PageFormat page) pageDialog(PrintRequestAttributeSet attributes) voidprint()voidprint(PrintRequestAttributeSet attributes) booleanstatic PrintServiceprintDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes) Like ServiceUI.printDialog(), but it uses our custom print dialogbooleanprintDialog(PrintRequestAttributeSet attributes) voidsetCopies(int copies) voidsetJobName(String jobName) voidsetPageable(Pageable document) voidsetPrintable(Printable painter) voidsetPrintable(Printable painter, PageFormat format) voidsetPrintService(PrintService service) validatePage(PageFormat page) Methods inherited from class java.awt.print.PrinterJobgetPageFormat, lookupPrintServices, lookupStreamPrintServices
- 
Constructor Details- 
FPMIPrinterJobpublic FPMIPrinterJob()
 
- 
- 
Method Details- 
getPrinterJob
- 
printDialog- Overrides:
- printDialogin class- PrinterJob
- Throws:
- HeadlessException
 
- 
pageDialog- Overrides:
- pageDialogin class- PrinterJob
- Throws:
- HeadlessException
 
- 
printDialogpublic static PrintService printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes) throws HeadlessException Like ServiceUI.printDialog(), but it uses our custom print dialog- Throws:
- HeadlessException
 
- 
cancelpublic void cancel()- Specified by:
- cancelin class- PrinterJob
 
- 
defaultPage- Overrides:
- defaultPagein class- PrinterJob
 
- 
defaultPage- Specified by:
- defaultPagein class- PrinterJob
 
- 
getCopiespublic int getCopies()- Specified by:
- getCopiesin class- PrinterJob
 
- 
getJobName- Specified by:
- getJobNamein class- PrinterJob
 
- 
getPrintService- Overrides:
- getPrintServicein class- PrinterJob
 
- 
getUserName- Specified by:
- getUserNamein class- PrinterJob
 
- 
isCancelledpublic boolean isCancelled()- Specified by:
- isCancelledin class- PrinterJob
 
- 
pageDialog- Specified by:
- pageDialogin class- PrinterJob
- Throws:
- HeadlessException
 
- 
print- Specified by:
- printin class- PrinterJob
- Throws:
- PrinterException
 
- 
print- Overrides:
- printin class- PrinterJob
- Throws:
- PrinterException
 
- 
printDialog- Specified by:
- printDialogin class- PrinterJob
- Throws:
- HeadlessException
 
- 
setCopiespublic void setCopies(int copies) - Specified by:
- setCopiesin class- PrinterJob
 
- 
setJobName- Specified by:
- setJobNamein class- PrinterJob
 
- 
setPageable- Specified by:
- setPageablein class- PrinterJob
- Throws:
- NullPointerException
 
- 
setPrintable- Specified by:
- setPrintablein class- PrinterJob
 
- 
setPrintable- Specified by:
- setPrintablein class- PrinterJob
 
- 
setPrintService- Overrides:
- setPrintServicein class- PrinterJob
- Throws:
- PrinterException
 
- 
validatePage- Specified by:
- validatePagein class- PrinterJob
 
 
-