PrintSetActivePrinter Method

See Also     Examples     Applies To

Changes the active printer.

Syntax

object.PrintSetActivePrinter (sPrinterName)

The PrintSetActivePrinter syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
sPrinterName Required. String. The name of the new defaut printer.

Returns

Boolean. True if success, else False.





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.