This method of the Device Class retrieves the device raster capabilities.
public int getRasterCapabilities();
Returns one or a combination of the raster capabilities flags shown in the following table.