PS TEXT FORMAT Reference Manual

Overview of TFORM Capabilities
11387 Tandem Computers Incorporated 2–7
More About Headers and Footers
When establishing headers and footers, remember:
TFORM lets you define up to ten headers and ten footers; ordinarily
you won’t want more than one or two of each. If you plan to use more
than one header or footer per page, you must identify them in your
commands as HEADER 1, HEADER 2, FOOTER 1, FOOTER 2, and
so on.
You can use the character # in the HEADER command instead of the
FOOTER If you want the page number to appear at the top of your
page.
You can print a date in your header or footer with the TODAY
command and the SYS_DATE variable. See Section 3.
TFORM lets you define margins for your headers and footers
independent of the margins you establish for the body of your text. If
you want special margins for your headers (or footers), simply use a
version of the STYLE MARGIN command with the further
qualifications HEADER LEFT and HEADER RIGHT (or FOOTER LEFT
and FOOTER RIGHT).
To define the distance between your last header and the beginning of
the text on your page (or between the last line of text and the first
footer) use the STYLE GAP command. For instance, if you want a two-
line gap separating headers and footers from text, your commands
should look like this:
\STYLE GAP HEADER 2 LINES
\STYLE GAP FOOTER 2 LINES
If you don’t define a gap, TFORM sets it to one line, unless there are no
header or footer lines to be separated from the text; in that case, the gap
is zero.
TFORM always prints single-spaced headers and footers, regardless of
the interline spacing defined for the text region.