header

Description

Specifies the string to be used as the header for HTML print-outs. The string can include the standard Internet Explorer header/footer metasymbols. If you need to use HTML for your headers and footers, please see Enhanced Formatting.

The header property is part of the basic freely-distributable printing subset.

To print specific information as part of the header or footer, include the following characters as part of the string:

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

Syntax

printing.header= sHead

Settings

This is a read/write property.

Applies To

printing

Example

Check out the source code of the ScriptX Basic Printing example.

See Also

footer

headerFooterFont

PageSetup, Print, PrintHTML