Page handling functions The table below contains a short description of each script function. For information about syntax, examples, etc., see the full description of each script function. Function name Description ConnectorPage Returns the number of pages (in the current job) that have been processed so far on the current connector. ConnectorPages Returns the total number of pages (in the current job) that will be processed on the current connector. DocPage Returns the current page number of the current document. DocPages Returns the total number of pages in the current document. FrameOverflow Generates a new page. If called from a Before Script, the current block is the first block on the next page; if called from an After Script, the current block is the last block on the current page. NewPage Generates a new page according to the context in which it is called.