Ä Ã ÎÁ āË
Á ĸÁÍ āß
ŽPFDocument ééÁ é .ÝËÍé āéėÁÍÁ Á
ÁÍ Ä ÃßÍ Í
Ü
Ýé
ā Ë
ÍË Žā .ËË Ā Ü ÍßÔ PFPrintObject ß PFPage
Ëßé āéÍ ā ÁÍ Ā ËÁß
ĸ āß ß Ëßĸ ĸÁÍÔ āß áÍ āÎÁËÁ
ĸéāééßé
āé ŽËÁāË Ā ÅėÎ ß ÜÁÍ ĸ
ā Ü .ËË Ô
.Ëė āß
Ä Ã ÎÁ āË
Á ā ÔßÍ
:ÅÁ Ý
Ü āË āÍ Í ā ËÁÍ ÞÁ
.Ëė ËÁ PFDocument ĸ Ú
.Ëė āÁ PFDocument ā ÁÍĀ ß ËÁ PFPage ĸ Ú
PFPage ĸé ā ÁÍ Ā ß ËÁ Ëß ĸ ÍÕ ā ÍË ā ÁÍ ĸÁ ĸ
.Ë āÁ
.Ëß Ä
Ë ÁË ÁÍ document.print() Ë
éé Üéé ÍË Ëßß Å ĸ
Ë ÍÁÍ
ÍËĀ ÁÍ ā ß ßË ÜÁÍ
.Ë ÁÍÁ ÁÍ Í ÞÁ āß ā ËËĸ Þ ÍÎ Ë .Ëß ËÁ
Resources
Graphic Java 2, Mastering the AWT, Volume 1, David M. Geary (Prentice Hall, 1998) -- you will find tons of books covering Java AWT, but none will cover the subject to this extent. If you're writing GUIs, you must have this book next to your computer:
http://www.amazon.com/exec/obidos/ASIN/0130796662/javaworld
Migrating from Java 1.0 to Java 1.1, Daniel I. Oshi and Pavel A. Vorobiev (Ventana Communications Group, 1997) -- this book was helpful when Java 1.1 came out, and was the first to talk about printing in Java:
http://www.amazon.com/exec/obidos/ASIN/1566046866/javaworld
Java 2D API Graphics, Vincent J. Hardy (Prentice Hall, 1999) -- probably the best book on Java 2D, this book covers all aspects of the 2D API and provides a Graphics framework for advanced 2D compositions:
http://www.amazon.com/exec/obidos/ASIN/0130142662/javaworld
"Getting Started with Java 2D," Bill Day, (JavaWorld, July 1998) -- an excellent introduction to the Java 2D API:
http://www.javaworld.com/javaworld/jw-07-1998/jw-07-media.html
"Programmer's Guide to the Java 2D API" (Sun Microsystems) -- a reference document on the 2D API:
ftp://ftp.java.sun.com/docs/j2se1.3/j2d-book.pdf
"Test Infect Your Enterprise JavaBeans," Michael T. Nygard and Tracie Karsjens (JavaWorld, May 26, 2000) -- how to use JUnit to test JavaBeans applications:
http://www.javaworld.com/javaworld/jw-05-2000/jw-0526-testinfect.html
"Automate Your Build Process Using Java and Ant," Michael Cymerman, (JavaWorld, October 20, 2000) -- learn to use Ant:
http://www.javaworld.com/javaworld/jw-10-2000/jw-1020-ant.html
"Benefit from Platform-Independent Builds," Sanjay Mahapatra (JavaWorld, August 2000) for more on build processes and Ant:
http://www.javaworld.com/javaworld/jw-08-2000/jw-0804-builds.html
"Incremental Development with Ant and JUnit," Malcolm Davis, (developerWorks, November 2000) -- learn to integrate Ant and JUnit:
http://www-4.ibm.com/software/developer/library/j-ant/?dwzone=java
The Ant homepage: http://jakarta.apache.org/ant/
The JUnit homepage: http://junit.org

|