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
PrinterJobgetPrinterJob()
This method returns the instance of PrinterJob that is controlling this print job.

Method Detail

getPrinterJob

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

Returns: The PrinterJob that is controlling this print job.