W3cubDocs

/OpenJDK 21

Package java.awt.print

package java.awt.print
Provides classes and interfaces for a general printing API. The API includes such features as:
  • the ability to specify document types
  • mechanisms for control of page setup and page formats
  • the ability to manage job control dialogs
Since:
1.2
Class Description
Book
The Book class provides a representation of a document in which pages may have different page formats and page painters.
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.
PrinterAbortException
The PrinterAbortException class is a subclass of PrinterException and is used to indicate that a user or application has terminated the print job while it was in the process of printing.
PrinterException
The PrinterException class and its subclasses are used to indicate that an exceptional condition has occurred in the print system.
PrinterGraphics
The PrinterGraphics interface is implemented by Graphics objects that are passed to Printable objects to render a page.
PrinterIOException
The PrinterIOException class is a subclass of PrinterException and is used to indicate that an IO error of some sort has occurred while printing.
PrinterJob
The PrinterJob class is the principal class that controls printing.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/java/awt/print/package-summary.html