Saturday, October 01, 2005

Internet Explorer - Printing headers and footers

Header and Footer codes for printing:

&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.

For example, if you want the header to have the window (page) title and the URL, you would type:

&w &u