JavaTM 2 Platform
Std. Ed. v1.4.1

Uses of Interface
javax.print.PrintService

Packages that use PrintService
java.awt.print Provides classes and interfaces for a general printing API. 
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. 
 

Uses of PrintService in java.awt.print
 

Methods in java.awt.print that return PrintService
static PrintService[] PrinterJob.lookupPrintServices()
          A convenience method which looks up 2D print services.
 PrintService PrinterJob.getPrintService()
          Returns the service (printer) for this printer job.
 

Methods in java.awt.print with parameters of type PrintService
 void PrinterJob.setPrintService(PrintService service)
          Associate this PrinterJob with a new PrintService.
 

Uses of PrintService in javax.print
 

Subinterfaces of PrintService in javax.print
 interface MultiDocPrintService
          Interface MultiPrintService is the factory for a MultiDocPrintJob.
 

Classes in javax.print that implement PrintService
 class StreamPrintService
          This class extends PrintService and represents a print service that prints data in different formats to a client-provided output stream.
 

Methods in javax.print that return PrintService
static PrintService ServiceUI.printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes)
          Presents a dialog to the user for selecting a print service (printer).
static PrintService[] PrintServiceLookup.lookupPrintServices(DocFlavor flavor, AttributeSet attributes)
          Locates print services capable of printing the specified DocFlavor.
static PrintService PrintServiceLookup.lookupDefaultPrintService()
          Locates the default print service for this environment.
abstract  PrintService[] PrintServiceLookup.getPrintServices(DocFlavor flavor, AttributeSet attributes)
          Locates services that can be positively confirmed to support the combination of attributes and DocFlavors specified.
abstract  PrintService[] PrintServiceLookup.getPrintServices()
          Not called directly by applications.
abstract  PrintService PrintServiceLookup.getDefaultPrintService()
          Not called directly by applications.
 PrintService DocPrintJob.getPrintService()
          Determines the PrintService object to which this print job object is bound.
 

Methods in javax.print with parameters of type PrintService
static PrintService ServiceUI.printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes)
          Presents a dialog to the user for selecting a print service (printer).
static PrintService ServiceUI.printDialog(GraphicsConfiguration gc, int x, int y, PrintService[] services, PrintService defaultService, DocFlavor flavor, PrintRequestAttributeSet attributes)
          Presents a dialog to the user for selecting a print service (printer).
static boolean PrintServiceLookup.registerService(PrintService service)
          Allows an application to directly register an instance of a class which implements a print service.
 

Uses of PrintService in javax.print.event
 

Methods in javax.print.event that return PrintService
 PrintService PrintServiceAttributeEvent.getPrintService()
          Returns the print service.
 

Constructors in javax.print.event with parameters of type PrintService
PrintServiceAttributeEvent(PrintService source, PrintServiceAttributeSet attributes)
          Constructs a PrintServiceAttributeEvent object.
 


JavaTM 2 Platform
Std. Ed. v1.4.1

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.