public interface MultiDocPrintJob extends DocPrintJob
MultiDocPrintJob represents a print job which supports
printing of multiple documents as one print job.
An instance can be obtained from every MultiDocPrintService
available by calling the
MultiDocPrintService.createMultiDocPrintJob() method.
A print job is bound to the print service it is created from.
| Modifier and Type | Method and Description |
|---|---|
void |
print(MultiDoc multiDoc,
PrintRequestAttributeSet attributes)
Prints the documents supplied in the given
MultiDoc object
as one print job with the given printing attributes. |
addPrintJobAttributeListener, addPrintJobListener, getAttributes, getPrintService, print, removePrintJobAttributeListener, removePrintJobListenervoid print(MultiDoc multiDoc, PrintRequestAttributeSet attributes) throws PrintException
MultiDoc object
as one print job with the given printing attributes.multiDoc - the documents to print. Every document must have a
flavor supported by the bound print service.attributes - the printing attributes to apply to the print job. If
null the default attribute values will be used.PrintException - if an error occurs. The thrown exception may
implement refining print exception interface to provide more detail of
the error.FlavorException,
AttributeException