W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2008

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

From: Simon Pieters <simonp@opera.com>
Date: Mon, 09 Jun 2008 17:19:03 +0200
Message-ID: <op.uchl5118idj3kv@zcorpandell.linkoping.osa>
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
Received on Monday, 9 June 2008 08:19:03 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:03 UTC