[whatwg] print preview and onbeforeprint (was: Re: several messages)

Simon Pieters simonp at opera.com
Mon Jun 9 08:19:03 PDT 2008


On Fri, 06 Jun 2008 02:11:45 +0200, Ian Hickson <ian at hixie.ch> wrote:

>> I'll add another case: the onafterprint event could be used in a
>> "wizard"-style application where printing some document is step 3 of 10,
>> for example.  The application could proceed to the next step (not
>> necessarily a different document) automatically without requiring a
>> button that says "click here when done printing".  That's a case that a
>> media-specific stylesheet cannot handle.  Automating tasks and reducing
>> clicks are both high priorities in my development of web applications.
>
> Good use case!

But breaks if the user does a print preview first, no? (The events fire in  
IE when doing print preview.)

-- 
Simon Pieters
Opera Software



More information about the whatwg mailing list