%%PAGE_NO
The physical page number of the current page in the document. You can only reference %%PAGE_NO in the PAGE: section of your rule file in the Pagerule.
Valid in Control File Tags
This system variable is valid in the Control File when used in the following tags.
- <ADDPART>
- <FIELD> (with field replace, meaning the [action] parameter is set to R)
- <SIDEPART>
- <SORTPART>
Valid in Rule File Sections
This system variable is valid in the following Rule File sections.
- Page
- Finish