| Package | Description |
|---|---|
| javax.print |
Provides the principal classes and interfaces for the Java
TM Print Service API.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
DocFlavor
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.
|
static class |
DocFlavor
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.
|
static class |
DocFlavor
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.
|
static class |
DocFlavor
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.
|
static class |
DocFlavor
Class DocFlavor.SERVICE_FORMATTED provides predefined static constant DocFlavor objects for example doc flavors for service formatted print data.
|
static class |
DocFlavor
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.
|
static class |
DocFlavor
Class DocFlavor.URL provides predefined static constant DocFlavor objects.
|
| Modifier and Type | Method and Description |
|---|---|
DocFlavor |
SimpleDoc.getDocFlavor()
Determines the doc flavor in which this doc object will supply its piece of print data.
|
DocFlavor |
Doc.getDocFlavor()
Determines the doc flavor in which this doc object will supply its piece of print data.
|
abstract DocFlavor |
StreamPrintServiceFactory.getSupportedDocFlavors()
Queries the factory for the document flavors that can be accepted by printers obtained from this factory.
|
DocFlavor |
PrintService.getSupportedDocFlavors()
Determines the print data formats a client can specify when setting up a job for this
PrintService.
|
DocFlavor |
FlavorException.getUnsupportedFlavors()
Returns the unsupported flavors.
|
| Modifier and Type | Method and Description |
|---|---|
abstract MultiDocPrintService |
PrintServiceLookup.getMultiDocPrintServices(DocFlavor
Not called directly by applications.
|
abstract PrintService |
PrintServiceLookup.getPrintServices(DocFlavor
Locates services that can be positively confirmed to support the combination of attributes and DocFlavors specified.
|
Object |
PrintService.getSupportedAttributeValues(Class
Determines the printing attribute values a client can specify in the given category when setting up a job for this print service.
|
AttributeSet |
PrintService.getUnsupportedAttributes(DocFlavor
Identifies the attributes that are unsupported for a print request in the context of a particular DocFlavor.
|
boolean |
PrintService.isAttributeValueSupported(Attribute
Determines whether a client can specify the given printing attribute value when setting up a job for this Print Service.
|
boolean |
PrintService.isDocFlavorSupported(DocFlavor
Determines if this print service supports a specific
DocFlavor.
|
static MultiDocPrintService |
PrintServiceLookup.lookupMultiDocPrintServices(DocFlavor
Locates MultiDoc print Services capable of printing MultiDocs containing all the specified doc flavors.
|
static PrintService |
PrintServiceLookup.lookupPrintServices(DocFlavor
Locates print services capable of printing the specified
DocFlavor.
|
static StreamPrintServiceFactory |
StreamPrintServiceFactory.lookupStreamPrintServiceFactories(DocFlavor
Locates factories for print services that can be used with a print job to output a stream of data in the format specified by
outputMimeType.
|
static PrintService |
ServiceUI.printDialog(GraphicsConfiguration
Presents a dialog to the user for selecting a print service (printer).
|
| Constructor and Description | |
|---|---|
SimpleDoc(Object
Constructs a
SimpleDoc with the specified print data, doc flavor and doc attribute set.
|