Re: Print current page with no printer dialog box - How ?
| From: | Marc Swanson | Date: | Tue, 18 Sep 2001 15:08:03 +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-67717@lists.php.net to get a copy of this message | ||
> Do you know how to create a button to print current page without
> bringing up the printer dialog box? I just print to the default printer.
>
> And also how do I insert a page break ?
Yes, to both questions.
See http://www.meadroid.com/scriptx
It is an ActiveX component that allows pretty much FULL control over the
printing environment. It is designed for IE but they have a product called
"Neptune" that allows you to run ActiveX stuff in netscape.. on windows
platforms only :-/
As far as the page breaks go use CSS.
BTDT recently on an intranet application where the users are chained to IE
anyway....
HTH
--
-------------------------
Marc Swanson
MSwanson Consulting
Phone: (603)868-1721
Fax: (603)868-1730
Mobile: (603)512-1267
mswanson@mswanson.com
http://www.mswanson.com
-------------------------