It appears ScriptX is unavailable or has failed to install.

Has the Infobar appeared?

If you are using Internet Explorer 6 or later on Windows XP SP2 or later then the Explorer Information bar may appear while trying to install ScriptX, it looks like this:

If the bar has appeared, follow the instructions: click on the bar and then select Install ActiveX Control...

Are you an administrator?

ScriptX is code that requires you have administrator rights on your machine in order to install it successfully.

If you are not an administrator, please contact your administrator and ask them to install ScriptX for you.

This page illustrates using scripted control of the font used to print the document header and footer.

Print or preview this page to see the font that has been set.

headerFooterFont


Description

From version 6.5.439, ScriptX supports retrieving and specifying the font used to render the document header and footer. The use of this feature requires Internet Explorer 8 or later.

Specifies or retrieves the description of the font to use. The font is described using a css style definition, one or more of the following semicolon-delimited values:

Value Description
font-family The font family name to use.
font-size The size to use, units should be pixels.
color The colour for rendering the text, given as an RGB value - for example, rgb(255,0,0)
font-weight The weight of the font as normal or bold
font-style The font style, as italic, normal, or oblique

Note: No error is thrown if this property is used with versions of Internet Explorer prior to 8 - settings are simply ignored.

Syntax

printing.headerFooterFont = sFontSpec

Settings

This a read-write property.

Example

factory.printing.headerFooterFont = "font-family: Comic Sans MS; font-size: 16px; color: rgb(0,128,0); font-weight: bold;"