To print specific information as part of the header or footer,
include the following characters as part of the text
| Use this |
To print this |
| &w |
Window title |
| &u |
Page address (URL) |
| &d |
Date in short format (as specified by Regional Settings in Control Panel) |
| &D |
Date in long format (as specified by Regional Settings in Control Panel) |
| &t |
Time in the format specified by Regional Settings in Control Panel |
| &T |
Time in 24-hour format |
| &p |
Current page number |
| &P |
Total number of pages |
| && |
A single ampersand (&) |
| &b |
The text immediately following these characters as centered. |
| &b&b |
The text immediately following the first "&b" as centered,
and the text following the second "&b" as right-justified.
|