This method of the WPrintJob Class retrieves the resolution of the page (in pixels per inch).
public int getPageResolution();
Returns the page resolution.