The PrinterDevice Class contains the following constructor:
Creates a printer device object.
public PrinterDevice(Graphics g) throws DeviceException;
g | The graphics object that the device is created for. |
com.ms.awt.DeviceException if the graphics object is not an instance of the FxGraphics or the GraphicsX extended graphics class.