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 |
CancelablePrintJob
This interface is used by a printing application to cancel a
print job.
|
interface |
MultiDocPrintJob
Obtained 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
DocPrintJob to 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
PrintJobEvent object. |
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.