Putting headers and footers on specific pages – HP Integrity NonStop H-Series User Manual
Page 258

Putting Headers and Footers on Specific Pages
Adding Headers and Footers
10–18
058060 Tandem Computers Incorporated
Putting Headers and
Footers on Specific
Pages
By default, headers and footers appear on all pages in the same location.
You can specify headers or footers for alternating pages. You can also tell
TFORM to begin headers and footers on a particular page.
Printing on Even and
Odd Pages
Often you want the same title for headers or footers, but you want the
location to alternate from page to page. For example, in documents printed
on both sides of a sheet, it’s easier to read headers or footers on odd-
numbered pages when they appear on the far right. Even-numbered
headers and footers read better on the far left. To print alternating headers
and footers, include EVEN and ODD in the HEADER or FOOTER
command. You must also indicate any change in title location by putting
the title in the correct field. For example:
\HEADER EVEN "PRODUCTION PROCEDURES"
\HEADER ODD "|PRODUCTION PROCEDURES"
Prints in the far left field
Prints in the far right field
Indicates page type
|
Of course, you are not limited to having the same text on both even and
odd pages, or to using a single field in the title. The addition of EVEN or
ODD to the HEADER or FOOTER command simply tells TFORM that all
even pages have one particular header or footer, and all odd pages have
another.