Event handler to be called before print spooling commences.

The event is applicable to the results of a Print call but not to that of a PrintHTML call. It can be used to update the user interface accordingly and is asynchronous.

Note: The DHTML window.onbeforeprint and window.onafterprint events exist to give the document's script a chance to customize DHTML content before it goes to print-out or preview (and not to signal actual printing). The same effect can be achieved with the CSS media=print or media=screen specific styles.

This is a read/write property.


printing.onbeforeprint = function_object