javax.print.event contains event classes and listener interfaces. They may be used to monitor both print services (such as printers going on-line & off-line), and the progress of a specific print job.
 Please note: In the javax.print APIs, a null reference parameter to methods is incorrect unless explicitly documented on the method as having a meaningful interpretation. Usage to the contrary is incorrect coding and may result in a run time exception either immediately or at some later time. IllegalArgumentException and NullPointerException are examples of typical and acceptable run time exceptions for such cases.
| Class | Description | 
|---|---|
| PrintEvent | Class  PrintEventis the super class of all Print Service API events. | 
| PrintJobAdapter | An abstract adapter class for receiving print job events. | 
| PrintJobAttributeEvent | Class  PrintJobAttributeEventencapsulates an event aPrintServicereports to let the client know that one or more printing attributes for aPrintJobhave changed. | 
| PrintJobAttributeListener | Implementations of this interface are attached to a  DocPrintJobto monitor the status of attribute changes associated with the print job. | 
| PrintJobEvent | Class  PrintJobEventencapsulates common events a print job reports to let a listener know of progress in the processing of theDocPrintJob. | 
| PrintJobListener | Implementations of this listener interface should be attached to a  DocPrintJobto monitor the status of the printer job. | 
| PrintServiceAttributeEvent | Class  PrintServiceAttributeEventencapsulates an event a Print Service instance reports to let the client know of changes in the print service state. | 
| PrintServiceAttributeListener | Implementations of this listener interface are attached to a  PrintServiceto monitor the status of the print service. | 
    © 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
    https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/print/event/package-summary.html