PS TEXT FORMAT Reference Manual
Introduction to TFORM
3–48 11387 Tandem Computers Incorporated
Keyword NOW
NOW specifies that the header is to appear on the current page. If you
omit it, TFORM waits until the start of the next page to begin using the
specified header. TFORM considers the start of a page to be You can
use the keyword NOW with any of the options described previously.
Note Certain commands, such as SPACE and TITLE, produce text. If you put a SPACE
command, for example, between a NEW command and a HEADER command, the specified
header wouldn’t appear until the following page unless the command contained the keyword
NOW.
Headers specified at the beginning of the file or before the start of the first
page take effect immediately.
Tips
A HEADER command with no scope (FIRST/ODD/EVEN) applies to
all pages.
If you want a header to display the page number, put the number
symbol (#) in the appropriate field of
title
. (You can change the
page-number symbol to another character with the DEFINE TITLE
PAGENUMBER command if you wish.)
If you want the header to start adding the page numbers beginning at a
number other than 1, you can combine the PAGE and HEADER
commands. For example
\PAGE 53
\HEADER NOW ALL ODD "||page #"
\HEADER EVEN "page #||"
The PAGE command sets the page counter. TFORM notes it and
continues to increment from the value you specify. The HEADER
command picks up the page number from the TFORM page counter.
Although you don’t have to number headers consecutively, TFORM
does print them in numeric order (if you define headers 1 and 3,
TFORM prints header 3 right below header 1).