onuserprintpreview

Description

Event handler to be called when a user invokes thePreview... command from the Internet Explorer File menu or hits the print preview button on the toolbar.

You may cancel this operation within the event handler simply by returning, or you may call Preview to provide the expected behavior.

The ScriptX Techie Printing example implements this behavior.

Syntax

printing.onuserprintpreview= function_object

Settings

This is a read/write property.

Applies To

printing

Example

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

See Also

disableUIonafterprintonpagesetup, onuserpagesetup, onuserprint

PageSetup