PSGetPaperBinNumbers()

Syntax

Function PSGetPaperBinNumbers(nBinIndex)
TPageScript:GetPaperBinNumbers
(nBinIndex)

Returns

An Integer value.

Description

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

For example, the internal number of the first paper bin (bin one) may be 257 (DMBIN_USER + 1).

Use PSGetPaperBinCount() to retrieve the total number of available paper bins.

Arguments

nBinIndex Sequential Paper Bin number of the paper bin you want to retrieve its associated internal number, as defined by the printer driver manufacturer.