Preview

Description

Invokes thePrint Preview...pane in Internet Explorer 5.5 and later.

The Preview method is part of the basic freely-distributable printing subset.

Syntax

printing.Preview(oFrame)

Parameter Description
oFrame [Optional] HTML frame to preview. By default, the top-level containing page will be previewed (i.e. the whole browser window content).

The use of this parameter is not part of the basic subset, a license is required. Without a license, default behaviour (preview the whole window) will occur.

Applies To

printing

Example

Check out the source code of the ScriptX Advanced Printing and ScriptX Techie Printing examples.

See Also

HTML Printing with ScriptX

onuserprintpreview, templateURL

IsTemplateSupported, Print