IE Print Script
Header and Footer Codes
These codes are case sensitive
&w Window title
&u Page address (URL)
&d Date in short format specified by Regional Settings in Control Panel
&D Date in long format 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
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\PageSetup
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup]
"header"="&w&bPage &p of &P"
"footer"="&u&b&d"
"margin_bottom"="0.75000"
"margin_left"="0.75000"
"margin_right"="0.75000"
"margin_top"="0.75000"
"FavChevron_Complete"="4"
"FavChevron_Failed"="12"
"FavChevron_Error"="29"
Internet Explorer default printer is provided from:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup\printer