The WPrintJob Class contains the following methods:
end ends the print job and performs cleanup operations.
getGraphics retrieves a Graphics object that will draw to the next page.
getPageDimension retrieves the dimensions of the page (in pixels).
getPageResolution retrieves the resolution of the page (in pixels per inch).
lastPageFirst determines if the last page should be printed first.
setPageDimensions sets the logical page dimensions and enables you to effectively use a mapping mode (like GDI).