| Package | Description | 
|---|---|
| java.awt.print | Provides classes and interfaces for a general printing API. | 
| javax.swing | Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. | 
| javax.swing.text | Provides classes and interfaces that deal with editable
and noneditable text components. | 
| Class and Description | 
|---|
| Pageable The  Pageableimplementation represents a set of
 pages to be printed. | 
| PageFormat The  PageFormatclass describes the size and
 orientation of a page to be printed. | 
| Paper The  Paperclass describes the physical characteristics of
 a piece of paper. | 
| Printable The  Printableinterface is implemented
 by theprintmethods of the current
 page painter, which is called by the printing
 system to render a page. | 
| PrinterException The  PrinterExceptionclass and its subclasses are used
 to indicate that an exceptional condition has occurred in the print
 system. | 
| PrinterJob The  PrinterJobclass is the principal class that controls
 printing. | 
| Class and Description | 
|---|
| Printable The  Printableinterface is implemented
 by theprintmethods of the current
 page painter, which is called by the printing
 system to render a page. | 
| PrinterException The  PrinterExceptionclass and its subclasses are used
 to indicate that an exceptional condition has occurred in the print
 system. | 
| Class and Description | 
|---|
| Printable The  Printableinterface is implemented
 by theprintmethods of the current
 page painter, which is called by the printing
 system to render a page. | 
| PrinterException The  PrinterExceptionclass and its subclasses are used
 to indicate that an exceptional condition has occurred in the print
 system. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.