PSGetPageSize()

Syntax

Function PSGetPageSize()
TPageScript:GetPageSize()

Returns

An Integer value.

Description

PSGetPageSize() returns the page size currently in use by the selected printer. See PSSetPageSize() for more information.

If you call this function when not printing, the default value is returned.

Arguments

None