Re: control Printer with PHP
| From: | Richard Lynch | Date: | Sat, 06 Jan 2001 04:28:33 +0000 |
| Subject: | Re: control Printer with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33016@lists.php.net to get a copy of this message | ||
Nothing server-side can control a user's printer, I'm pretty sure: And PHP
is running on the server, and never really sees the user's computer. It
just spews out HTML (or whatever) to the browser.
There *might* be some JavaScript hack that could *maybe* do this, but I
wouldn't count on it actually working on many people's computers -- Probably
would crash a lot of 'em, especially any that didn't have printers... But I
think I have seen some "Print" buttons on some web-sites. Gotta be
JavaScript, almost for sure. So you could probably modify that to happen
onLoad() at the end of the HTML.
----- Original Message -----
From: "Tibbar" <tibbar@tibbar.com>
Newsgroups: php.general
Sent: Friday, January 05, 2001 8:26 PM
Subject: [PHP] control Printer with PHP
> By any chance PHP can control the printer? When a page is loaded, would it
> be possible to print that page out simutaneously?
>
> Thx!
>
> Tibbar
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>