PSGetPaperNumbers()

Syntax

Function PSGetPaperNumbers(nPaperIndex)
TPageScript:GetPaperNumbers
(nPaperIndex)

Returns

An Integer value.

Description

PSGetPaperNumbers() returns the internal paper format number assigned by the printer driver's manufacturer and used by Windows, assosiated to the sequential paper format number.

Use PSGetPaperCount() to retrieve the total number of available paper formats.

Arguments

nPaperIndex Internal paper format index assigned by the printer driver's manufacturer and used by Windows, assosiated to the sequential paper format number.