java.awt.print
Interface PrinterGraphics


public interface PrinterGraphics

This interface is implemented by the Graphics instance that is used for rendering pages. It provides a hook to return the object that is controlling the print job.


Method Summary
 PrinterJob getPrinterJob()
          This method returns the instance of PrinterJob that is controlling this print job.
 

Method Detail

getPrinterJob

PrinterJob getPrinterJob()
This method returns the instance of PrinterJob that is controlling this print job.

Returns:
The PrinterJob that is controlling this print job.