| Package | Description | 
|---|---|
| javax.print.event | Package javax.print.event contains event classes  and listener interfaces. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PrintJobAdapter. printDataTransferCompleted(PrintJobEvent pje)Called to notify the client that data has been successfully
 transferred to the print service, and the client may free
 local resources allocated for that data. | 
| void | PrintJobListener. printDataTransferCompleted(PrintJobEvent pje)Called to notify the client that data has been successfully
 transferred to the print service, and the client may free
 local resources allocated for that data. | 
| void | PrintJobAdapter. printJobCanceled(PrintJobEvent pje)Called to notify the client that the job was canceled
 by user or program. | 
| void | PrintJobListener. printJobCanceled(PrintJobEvent pje)Called to notify the client that the job was canceled
 by a user or a program. | 
| void | PrintJobAdapter. printJobCompleted(PrintJobEvent pje)Called to notify the client that the job completed successfully. | 
| void | PrintJobListener. printJobCompleted(PrintJobEvent pje)Called to notify the client that the job completed successfully. | 
| void | PrintJobAdapter. printJobFailed(PrintJobEvent pje)Called to notify the client that the job failed to complete
 successfully and will have to be resubmitted. | 
| void | PrintJobListener. printJobFailed(PrintJobEvent pje)Called to notify the client that the job failed to complete
 successfully and will have to be resubmitted. | 
| void | PrintJobAdapter. printJobNoMoreEvents(PrintJobEvent pje)Called to notify the client that no more events will be delivered. | 
| void | PrintJobListener. printJobNoMoreEvents(PrintJobEvent pje)Called to notify the client that no more events will be delivered. | 
| void | PrintJobAdapter. printJobRequiresAttention(PrintJobEvent pje)Called to notify the client that some possibly user rectifiable
 problem occurs (eg printer out of paper). | 
| void | PrintJobListener. printJobRequiresAttention(PrintJobEvent pje)Called to notify the client that an error has occurred that the
 user might be able to fix. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.