PSSetLPI()

Syntax

Function PSSetLPI(nLPI)
TPageScript:SetLPI(nLPI)

Returns

The old LPI setting.

Description

Call PSSetLPI() to set the number of LPI (Lines Per Inch) to be used when calling PSTextOut() and working with the APS_TEXT unit of measurement. This enables you to simulate a DOS printer output. For best results, you should print using "Courier New".

Arguments

nLPI Any of the following values :

Value Description
6 6 LPI (the default)
8 8 LPI