HP Integrity NonStop H-Series User Manual
Page 250
![background image](/manuals/396805/250/background.png)
Including Page Numbers, Date, and Time
Adding Headers and Footers
10–10
058060 Tandem Computers Incorporated
Including Page
Numbers, Date,
and Time
You can put a variety of information into header and footer titles. Title
contents might include document names, descriptive comments, or even
legal notices such as copyrights. Most documents also include page
numbers in either the header or footer, and many documents also contain
the time and date when the document is printed.
Displaying Page Numbers
Use the pound symbol (#) to include a page number in a header or footer.
Enter this symbol in the title field where you want to display the page
numbers. TFORM keeps track of the pages and automatically numbers
them sequentially. The following command puts the page number in the
middle of the bottom of each page:
\FOOTER "|#|"
You can combine the pound sign with other text or numbers in a field. For
example, to include the word “page” or the chapter number in page
numbering, enter one of these commands:
\FOOTER "9-#|"
\HEADER "Page-#"
Note
You can turn page numbering on and off, or you can begin numbering with a different
number than the one currently stored in the page counter. See the PAGE command in the
PS TEXT FORMAT Reference Manual for more information.