"Brett Merkey" <> wrote in message news:<nTN9b.59865$. com>...
> "aimee" <> wrote in message
> news: m...
> | Hi. Is there a way to capture the events fired in a PrintDialog? I
> | would like to capture when the user presses "Print" so I can do some
> | cleanup.
> | The asp.net (IE6) application I'm working on has 6 pages
>
>
> The easiest course of action is to use the onbeforeprint and
> onafterprint events to call your functions.
>
> Brett
That is what I tried first. The 'onafterprint' fires *before* the
print dialog appears, and is thus not a viable option for this
particular scenario.
After more poking around, I discovered that the 'onbeforeprint' and
'onafterprint' events are attached neither to the Print dialog box nor
the printing.
http://support.microsoft.com/default...NoWebContent=1
So I will have to redesign how the section of the app that handles
printing.
aimee