This documentation is archived and is not being maintained.

Visual Basic Reference

Visual Studio 6.0

DeviceName Property

See Also    Example    Applies To

Returns the name of the device a driver supports.



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


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.