Export (0) Print
Expand All
Expand Minimize

Visual Basic Reference

Visual Studio 6.0

DriverName Property

See Also    Example    Applies To

Returns the name of the driver for a Printer object.



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


Each driver has a unique name. For example, the DriverName for several of the Hewlett-Packard printers is HPPCL5MS. The DriverName is typically the driver's filename without an extension.

Note   The effect of the 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.

© 2014 Microsoft