W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2009

[whatwg] window.print() when printing is not supported

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Mon, 28 Dec 2009 09:45:17 -0500
Message-ID: <7c2a12e20912280645o7657fb72l8d78dd6ea8427d0a@mail.gmail.com>
On Mon, Dec 28, 2009 at 9:25 AM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
> I've had design requirements to include a print button in pages.
> Apparently many users *expect* such, and don't realize they can print
> from the File->Print option (and/or don't realize that this can print
> a printer-friendly version automatically).
>
> I include print stylesheets, so all this button ever does is call
> window.print() for them.

Wikipedia is the same deal.  We've supported print stylesheets for
ages, so there's absolutely no difference (at least in theory) between
printing a page, and clicking "Printable version" on the sidebar and
then printing the page.  But some users apparently expect a "print"
link of some type on the web page itself.
Received on Monday, 28 December 2009 06:45:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:54 UTC