| Added Methods |
PrintService getPrintService()
|
Returns the service (printer) for this printer job. |
PrintService[] lookupPrintServices()
|
A convenience method which looks up 2D print services. |
StreamPrintServiceFactory[] lookupStreamPrintServices(String)
|
A convenience method which locates fatories for stream print services which can image 2D graphics. |
PageFormat pageDialog(PrintRequestAttributeSet)
|
A convenience method which displays a cross-platform page setup dialog. |
void print(PrintRequestAttributeSet)
|
Prints a set of pages using the settings in the attribute set. |
boolean printDialog(PrintRequestAttributeSet)
|
A convenience method which displays a cross-platform print dialog for all services which are capable of printing 2D graphics using the Pageable interface. |
void setPrintService(PrintService)
|
Associate this PrinterJob with a new PrintService. |
| Changed Methods |
int getCopies()
|
Documentation changed from old to new. |
Gets the number of copies to be printed. |
String getJobName()
|
Documentation changed from old to new. |
Gets the name of the document to be printed. |
PrinterJob getPrinterJob()
|
Documentation changed from old to new. |
Creates and returns a PrinterJob which is initially associated with the default printer. |
void setCopies(int)
|
Documentation changed from old to new. |
Sets the number of copies to be printed. |
void setJobName(String)
|
Documentation changed from old to new. |
Sets the name of the document to be printed. |
PageFormat pageDialog(PageFormat)
|
Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new. |
Displays a dialog that allows modification of a PageFormat instance. |
boolean printDialog()
|
Change in exceptions thrown from no exceptions to HeadlessException.
Documentation changed from old to new. |
Presents a dialog to the user for changing the properties of the print job. |