Microsoft SDK for Java

PrinterDevice Class

The PrinterDevice Class of the com.ms.awt package handles printer devices.

public class PrinterDevice extends Device
{
  // Constructors
  public PrinterDevice(Graphics g) throws DeviceException;

  // Methods
  public Dimension getPhysicalOffset();
  public Dimension getPhysicalSize();
  public Dimension getScalingFactor();
}

Hierarchy

Device 
  |
  +--PrinterDevice

© 1999 Microsoft Corporation. All rights reserved. Terms of use.