CONTENTS | PREV | NEXT | Java 2D API |
CHAPTER 7 |
Printing |
The Java 2D printing API enables applications to print all Java 2D Graphics, including composited graphics, and supports:
The Java 2D printing API introduces a new printing model that differs from the earlier printing model in that the printing system drives the printing process, not the application. This new, passive printing model is similar to the component painting APIs.Because the printing system drives the printing process, pages can be printed in any order. This printing model also works well with little or no disk space. Instead of spooling the entire document to the printer, the application maintains a model of the document in memory and is asked to print pages as needed.
The Java 2D printing API also provides hooks that enable the future addition of powerful printing features.
|
|
---|---|
|
Defines one method, |