header Attribute
Specifies the header text when printing a view.
Type
|
Remarks
The header attribute is an optional attribute of the printSettings element. The printSettings element also provides a footer attribute.
The header attribute cannot be greater than 255 characters in length.
When using a header or footer in a form, there are a number of variables that can be used to display information such as page numbers, dates, and times; or to align the text that the header or footer contains.
Header and footer variables
Characters | Description |
---|---|
&w | The title of the window. |
&u | The Uniform Resource Locator (URL) address of the page. |
&d | The date in short format as specified by the regional settings in Control Panel. |
&D | The date in long format as specified by the regional settings in Control Panel. |
&t | The time in the format as specified by regional settings in Control Panel. |
&T | The time in 24-hour format. |
&p | The current page number. |
&P | The total number of pages. |
&b | Right-aligned text (following &b). |
&b&b | Centered text (between &b&b). |
&& | A single ampersand (&). |
Example
The following is an example of the header attribute as it is used in the printSettings element:
|