ActivePrinter property

Microsoft Visio Developer Reference

ActivePrinter property

   Example   

Specifies the printer that all Microsoft Visio documents print to.

Version added

2002

Syntax

strRet = object.ActivePrinter
object.ActivePrinter = strExpression

strRet

String. The current active printer.

object

Required. An expression that returns an Application object.

strExpression

Required String. The new active printer.

Remarks

The ActivePrinter property is initially set to the default printer.