
PrintJob encapsulates printing information. When you call Toolkit.getPrintJob(), this is the object that is returned. From the PrintJob, you can access a Graphics object, which can be used for drawing to the printer.
public abstract class jav.awt.PrintJob
    extends java.lang.Object {
  // Instance Methods
  public abstract void end();
  public void finalize();
  public abstract Graphics getGraphics();
  public abstract Dimension getPageDimension();
  public abstract int getPageResolution();
  public abstract boolean lastPageFirst();
}
Ends printing and cleans up.
Object.finalize()
Cleans up when this object is garbage collected.
A Graphics object representing the next page. The object returned will also implement the PrintGraphics interface.
Returns a Graphics object for printing.
The page dimensions in pixels.
The page resolution, in pixels per inch.
true if pages are printed in reverse order; false otherwise.
Dimension, Graphics, PrintGraphics, Toolkit