Re: printing events and web applications

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 16 Jul 2006, Dave Raggett wrote:

> A work around is to provide a printer button as part of the page's 
> user interface. This can invoke a script that makes the necessary 
> rearrangements, invokes window.print() and then tidies up 
> afterwards.

Actually the above work around isn't without problems as there isn't 
a clean way to know when to apply the tidying up. Doing so 
immediately after calling window.print() doesn't work as the print 
function is typically delayed until the current script handler 
returns to the browser.

This makes the case for the onbeforeprint and onafterprint events
even stronger!

  Dave Raggett <dsr@w3.org>  W3C lead for multimodal interaction
  http://www.w3.org/People/Raggett +44 1225 866240 (or 867351)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFEumtXb3AdEmxAsUsRArsTAKCxRHFsaWdXOtXWcVzGXojCE9YStACgpYf+
IXdXYbI+ZlgNTseBbY0JZTY=
=q09q
-----END PGP SIGNATURE-----

Received on Sunday, 16 July 2006 16:37:54 UTC