# Uses of Package
java.awt.print

- Packages that use java.awt.print
  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.

- Classes in java.awt.print used by java.awt.print
  Class | Description
  --- | ---
  Pageable | The `Pageable` implementation represents a set of pages to be printed.
  PageFormat | The `PageFormat` class describes the size and orientation of a page to be printed.
  Paper | The `Paper` class describes the physical characteristics of a piece of paper.
  Printable | The `Printable` interface is implemented by the `print` methods of the current page painter, which is called by the printing system to render a page.
  PrinterException | The `PrinterException` class and its subclasses are used to indicate that an exceptional condition has occurred in the print system.
  PrinterJob | The `PrinterJob` class is the principal class that controls printing.

- Classes in java.awt.print used by javax.swing
  Class | Description
  --- | ---
  Printable | The `Printable` interface is implemented by the `print` methods of the current page painter, which is called by the printing system to render a page.
  PrinterException | The `PrinterException` class and its subclasses are used to indicate that an exceptional condition has occurred in the print system.

- Classes in java.awt.print used by javax.swing.text
  Class | Description
  --- | ---
  Printable | The `Printable` interface is implemented by the `print` methods of the current page painter, which is called by the printing system to render a page.
  PrinterException | The `PrinterException` class 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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.