LlPrintGetCurrentPage

Syntax:

INT LlPrintGetCurrentPage (HLLJOB hJob);

Task:

Returns the page number of the page currently printing.

Parameter:

hJob: List & Label job handle

Return Value:

<0: Error code
>=0: page number

Hints:

This function can only be used if a print job is open, i.e. after LlPrint[WithBox]­Start().

It is the same page number that is returned by the Page() function in the Designer, or by LlPrintGetOption(hJob, LL_PRNOPT_PAGE);

See also:

LlPrint