LlStgsysGetPageCount

Syntax:

INT LlStgsysGetPageCount (HLLSTG hStg);

Task:

Returns the number of pages in the current job.

Parameter:

hStg: The handle returned by LlStgsysStorageOpen()

Return value:

>0: Number of pages
<0: Error code

Hints:

The page numbers (the numbers that can be written on the paper!) can be queried by calling LlStgsysGetPageOptionValue() with the parameter LS_OPTION_­PAGENUMBER.

Example:

See LlStgsysSetJob

See also:

LlStgsysSetJob, LlStgsysJobGetOptionValue