Re: Print current page with no printer dialog box - How ?
| From: | * R&zE: | Date: | Thu, 20 Sep 2001 09:04:31 +0000 |
| Subject: | Re: Print current page with no printer dialog box - How ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67960@lists.php.net to get a copy of this message | ||
> I guess people can always use the browser's print button, but this has some
> limitation on pages that use frames etc.
I figure you already know this one:
window.print();
(JavaScript) :)
You still get the print-dialog, but the user doesn't have to push
the print button of the browser and you don't have any problems when
using frames, 'cause you just make this call from the frame you want
to be printed.
--
* R&zE:
-- »»»»»»»»»»»»»»»»»»»»»»»»
-- Renze Munnik
-- DataLink BV
--
-- E: renze@datalink.nl
-- W: +31 23 5326162
-- F: +31 23 5322144
-- M: +31 6 21811143
--
-- Stationsplein 82
-- 2011 LM HAARLEM
-- Netherlands
--
-- http://www.datalink.nl
-- ««««««««««««««««««««««««