Script functions reference > Script functions in alphabetical order > D > DocPageActual

DocPageActual
Syntax
DocPageActual();
Description
Returns the number of document pages sent to the output connector, including inserts but excluding skipped pages. The function can be used at the following post-processing scripting levels:
Before and after document, process and page.
Returns
num
-1
Example
$page_count = DocPageActual();
Result:
$page_count = 5
OpenText StreamServe 5.6 Updated: 2013-03-01