This method of the WPrintJob Class retrieves a Graphics object that will draw to the next page. The page is flushed to the printer when the graphics object calls the dispose method.
public Graphics getGraphics();
Returns a Graphics object that draws to the printer.