Using package java.awt.print
- Posted by editor on February 18th, 2009 filed in Basic Information
- Comment now »
General API printing is done through the use of the java.awt.print package. This package is the one that provides the interface and classes needed for general printing. Through this package, you can specify types of documents, manage dialogs for job control, as well as have the mechanisms that allow you to change or modify page formats and page set ups.

The interface summary is composed of ‘pageable’, which represents the pages to be printed, ‘printable’, which is implemented by current page painter’s print methods, which is turn is responsible for the rendering of the page. The last interface is ‘printergraphics’, which are implemented by objects classified as graphics, which are then rendered in a page through the ‘printable’ interface.
You can find more definitions and summaries for class and exception here.