I need to learn more about printing in JDK 1.1; I cannot use Java 2 and its Java 2D printing support. Can you suggest any references?

Bill Day

I would suggest looking at a copy of "Java in a Nutshell", 2nd ed., by David Flanagan. There is a very good section on printing in JDK 1.1 starting on page 91.

Basically, you need to use the PrintJob class and PrintGraphics interface. The step-by-step details are described beginning on page 161.

About | Sitemap | Contact