onuserpagesetup

Description

Event handler to be called when a user invokes the Page Setup... command from Internet Explorer's File menu.

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

In the latter case, once the user has made changes on the Page Setup dialog an onpagesetup event will be fired to update the page's user interface.

The ScriptX Techie Printing example implements this behavior.

Syntax

printing.onuserpagesetup= 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

disableUI,onafterprint, onpagesetup, onuserprint, onuserprintpreview

PageSetup