Java Platform 1.2

java.awt.print
Interface PrinterGraphics


public abstract interface PrinterGraphics

The PrinterGraphics interface is implemented by Graphics objects that are passed to Printable objects to render a page. It allows an application to find the PrinterJob object that is controlling the printing.


Method Summary
 PrinterJob getPrinterJob()
          Returns the PrinterJob that is controlling the current rendering request.
 

Method Detail

getPrinterJob

public PrinterJob getPrinterJob()
Returns the PrinterJob that is controlling the current rendering request.
Returns:
the PrinterJob controlling the current rendering request.
See Also:
Printable

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.