onBeforePrint (Event handler)

Called immediately before printing commences.

Availability:

JScript - 5.0
Internet Explorer - 5.0
JavaScript syntax:IEmyObject.onbeforeprint = aHandler

This provides a hook to set the page up before printing. This may be necessary to change the content of some items in the page so that they print more attractively.

See also:Event, Event handler, Event model, Event names, Event object, Event.returnValue, Handler, onAfterPrint, Semantic event