printHeader
Printouts can include custom text at the top of each page.
The following header options are available:
- any text
- Custom text is printed at the top of each printed page. For example, your own copyright for the documents that are being viewed or some other informational text is printed.
- formatted text
- Text can include limited formatted elements as follows.
Table 1. Header text options Option Printed result $page Prints the word "page" in the appropriate translation. $of Prints the word "of" in the appropriate translation. $pages Prints the word "pages" in the appropriate translation. # Prints the page number of the current printed page. ## Prints the number of pages in the document.
Print headers that are greater than 100 characters are truncated and not auto-wrapped to additional lines. The exact number of characters differ based on the font, and the combination of characters and digits that you use.
Note: When the document is printed directly from IBM Content Navigator (without opening in Daeja Viewer), Header and Footer text will not be printed.
Sample syntax
The following example prints "page 1 of 99 © Copyright 2000":
<param name="printHeader" value="$page # $of ## © Copyright 2000" />
Default setting: ($page # $of ##)