Re: How to Print a File using Java?
Friday, August 9, 2002 07:42 PM
Along with PrinterJob, one needs to use an implementation of an interface Printable to print whatever one wants.
The implementation of Printable is the painter of the page to be painted by the printing device.
There are some examples already posted in Swing FAQ. Also refer to http://java.sun.com/printing.