Visual Basic Reference

DeviceName Property

See Also    Example    Applies To

Returns the name of the device a driver supports.

Syntax

object.DeviceName

The object placeholder represents an object expression that evaluates to an object in the Applies To list.

Remarks

Each printer driver supports one or more devices for example, HP LaserJet IIISi is a device name.

Note   The effect of properties of the Printer object depends on the driver supplied by the printer manufacturer. Some property settings may have no effect, or several different property settings may all have the same effect. Settings outside the accepted range may produce an error. For more information, see the manufacturer's documentation for the specific driver.