| Package | Description | 
|---|---|
| javax.print | Provides the principal classes and interfaces for the 
JavaTM Print Service API. | 
| javax.print.event | Package javax.print.event contains event classes  and listener interfaces. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | CancelablePrintJobThis interface is used by a printing application to cancel a
 print job. | 
| interface  | MultiDocPrintJobObtained from a MultiDocPrintService, a MultiDocPrintJob can print a
 specified collection of documents as a single print job with a set of
 job attributes. | 
| Modifier and Type | Method and Description | 
|---|---|
| DocPrintJob | PrintService. createPrintJob()Creates and returns a PrintJob capable of handling data from
 any of the supported document flavors. | 
| Modifier and Type | Method and Description | 
|---|---|
| DocPrintJob | PrintJobAttributeEvent. getPrintJob()Determine the Print Job to which this print job event pertains. | 
| DocPrintJob | PrintJobEvent. getPrintJob()Determines the  DocPrintJobto which this print job
 event pertains. | 
| Constructor and Description | 
|---|
| PrintJobAttributeEvent(DocPrintJob source,
                      PrintJobAttributeSet attributes)Constructs a PrintJobAttributeEvent object. | 
| PrintJobEvent(DocPrintJob source,
             int reason)Constructs a  PrintJobEventobject. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.