[whatwg] [html5] window.print() undefined

Paul Norman penorman at mac.com
Fri Aug 12 14:46:48 PDT 2005

>>If you do something during print preview, you're making big 
>>assumptions about the UI model. (e.g. that it is synchronous).
>Fair enough. But in all the browsers I've tried when "Print Preview" is 
>selected the normal browser window disappears and is replaced with a 
>new window to show the preview. This is not instantaneous. The WHATWG
>takes notice of real-world browsers does it not?

On Mac OS X 10.4 with Firefox when pressing print then print preview a
PDF is generated and opens in Preview. You can then go back to Firefox
and browse the page while you have the preview up. It's not instant, but
it's also not synchronous once you hit the Print Preview button and it
prints to a PDF, a process that doesn't take very long. 

Actually, I'm not sure there's any difference between print preview,
print, and saving to PDF. it's just that one of them goes to a PDF which
is opened right away, another goes to a printer, and the third goes to a

I think any browser on the Mac works the same way, although I haven't
tested others.

More information about the whatwg mailing list