PSGetLPI()

Syntax

Function PSGetLPI()
TPageScript:GetLPI()

Returns

An Integer value.

Description

PSGetLPI() returns the number of lines per inch (LPI) currently set when printing using the APS_TEXT unit of measurement. If you're not using APS_TEXT, the value of PSGetLPI() is not meaningful. PSGetLPI() returns either 6 or 8.

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

Arguments

None