Package javax.print

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

Class Summary
DocFlavor sample code for javax.print.DocFlavor definition code for javax.print.DocFlavor Class DocFlavor encapsulates an object that specifies the format in which print data is supplied to a DocPrintJob sample code for javax.print.DocPrintJob definition code for javax.print.DocPrintJob .
DocFlavor.BYTE_ARRAY sample code for javax.print.DocFlavor.BYTE_ARRAY definition code for javax.print.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 sample code for javax.print.DocFlavor.CHAR_ARRAY definition code for javax.print.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 sample code for javax.print.DocFlavor.INPUT_STREAM definition code for javax.print.DocFlavor.INPUT_STREAM Class DocFlavor.INPUT_STREAM provides predefined static constant DocFlavor objects for example doc flavors using a byte stream (java.io.InputStream sample code for java.io.InputStream definition code for java.io.InputStream ) as the print data representation class.
DocFlavor.READER sample code for javax.print.DocFlavor.READER definition code for javax.print.DocFlavor.READER Class DocFlavor.READER provides predefined static constant DocFlavor objects for example doc flavors using a character stream (java.io.Reader sample code for java.io.Reader definition code for java.io.Reader ) as the print data representation class.
DocFlavor.SERVICE_FORMATTED sample code for javax.print.DocFlavor.SERVICE_FORMATTED definition code for javax.print.DocFlavor.SERVICE_FORMATTED Class DocFlavor.SERVICE_FORMATTED provides predefined static constant DocFlavor objects for example doc flavors for service formatted print data.
DocFlavor.STRING sample code for javax.print.DocFlavor.STRING definition code for javax.print.DocFlavor.STRING Class DocFlavor.STRING provides predefined static constant DocFlavor objects for example doc flavors using a string (java.lang.String sample code for java.lang.String definition code for java.lang.String ) as the print data representation class.
DocFlavor.URL sample code for javax.print.DocFlavor.URL definition code for javax.print.DocFlavor.URL Class DocFlavor.URL provides predefined static constant DocFlavor objects.
PrintServiceLookup sample code for javax.print.PrintServiceLookup definition code for javax.print.PrintServiceLookup Implementations of this class provide lookup services for print services (typically equivalent to printers) of a particular type.
ServiceUI sample code for javax.print.ServiceUI definition code for javax.print.ServiceUI This 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 sample code for javax.print.ServiceUIFactory definition code for javax.print.ServiceUIFactory Services may optionally provide UIs which allow different styles of interaction in different roles.
SimpleDoc sample code for javax.print.SimpleDoc definition code for javax.print.SimpleDoc This class is an implementation of interface Doc that can be used in many common printing requests.
StreamPrintService sample code for javax.print.StreamPrintService definition code for javax.print.StreamPrintService This class extends PrintService sample code for javax.print.PrintService definition code for javax.print.PrintService and represents a print service that prints data in different formats to a client-provided output stream.
StreamPrintServiceFactory sample code for javax.print.StreamPrintServiceFactory definition code for javax.print.StreamPrintServiceFactory A StreamPrintServiceFactory is the factory for StreamPrintService sample code for javax.print.StreamPrintService definition code for javax.print.StreamPrintService instances, which can print to an output stream in a particular document format described as a mime type.
 

Exception Summary
PrintException sample code for javax.print.PrintException definition code for javax.print.PrintException Class PrintException encapsulates a printing-related error condition that occurred while using a Print Service instance.