setPageNumSymbol

Syntax: setPageNumSymbol document, symbol

The setPageNumSymbol command selects a text symbol whose every occurrence in the document will be replaced with the current page number at printing time. This lets you number your pages by including a text element on the master page containing the symbol you define for page numbering. Call setPageNumSymbol with a value of "" (an empty string) to turn off this feature.