PSGetDefaultPrinter() / PSGetDefPrinter()

Syntax

Function PSGetDefaultPrinter()
TPageScript:GetDefaultPrinter()

Returns

An Integer value.

Description

PSGetDefaultPrinter() returns the index position of the Windows default printer, from the Printer array you can get by calling PSGetPrinters().

Arguments

None