Package javax.print

Interface Summary

AttributeException Interface AttributeException is a mixin interface which a subclass of PrintException can implement to report an error condition involving one or more printing attributes that a particular Print Service instance does not support.
CancelablePrintJob This interface is used by a printing application to cancel a print job.
Doc Interface Doc specifies the interface for an object that supplies one piece of print data for a Print Job.
DocPrintJob This interface represents a print job that can print a specified document with a set of job attributes.
FlavorException Interface FlavorException is a mixin interface which a subclass of PrintException can implement to report an error condition involving a doc flavor or flavors (class DocFlavor).
MultiDoc Interface MultiDoc specifies the interface for an object that supplies more than one piece of print data for a Print Job.
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.
MultiDocPrintServiceInterface MultiPrintService is the factory for a MultiDocPrintJob.
PrintService Interface PrintService is the factory for a DocPrintJob.
URIException Interface URIException is a mixin interface which a subclass of PrintException can implement to report an error condition involving a URI address.

Class Summary

DocFlavor Class DocFlavor encapsulates an object that specifies the format in which print data is supplied to a DocPrintJob.
DocFlavor.BYTE_ARRAY Class DocFlavor.BYTE_ARRAY provides predefined static constant DocFlavor objects for example doc flavors using a byte array (byte[]) as the print data representation class.
DocFlavor.CHAR_ARRAY Class DocFlavor.CHAR_ARRAY provides predefined static constant DocFlavor objects for example doc flavors using a character array (char[]) as the print data representation class.
DocFlavor.INPUT_STREAM Class DocFlavor.INPUT_STREAM provides predefined static constant DocFlavor objects for example doc flavors using a byte stream (java.io.InputStream) as the print data representation class.
DocFlavor.READER Class DocFlavor.READER provides predefined static constant DocFlavor objects for example doc flavors using a character stream (java.io.Reader) as the print data representation class.
DocFlavor.SERVICE_FORMATTED Class DocFlavor.SERVICE_FORMATTED provides predefined static constant DocFlavor objects for example doc flavors for service formatted print data.
DocFlavor.STRING Class DocFlavor.STRING provides predefined static constant DocFlavor objects for example doc flavors using a string (java.lang.String) as the print data representation class.
DocFlavor.URL Class DocFlavor.URL provides predefined static constant DocFlavor objects.
PrintServiceLookupImplementations of this class provide lookup services for print services (typically equivalent to printers) of a particular type.
ServiceUIThis class is a collection of UI convenience methods which provide a graphical user dialog for browsing print services looked up through the Java Print Service API.
ServiceUIFactory Services may optionally provide UIs which allow different styles of interaction in different roles.
SimpleDoc This class is an implementation of interface Doc that can be used in many common printing requests.
StreamPrintService This class extends PrintService and represents a print service that prints data in different formats to a client-provided output stream.
StreamPrintServiceFactory A StreamPrintServiceFactory is the factory for StreamPrintService instances, which can print to an output stream in a particular document format described as a mime type.

Exception Summary

PrintException Class PrintException encapsulates a printing-related error condition that occurred while using a Print Service instance.