Re: sending to local printer
| From: | Justin French | Date: | Fri, 18 Oct 2002 16:10:27 +0000 |
| Subject: | Re: sending to local printer | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120531@lists.php.net to get a copy of this message | ||
PHP = server side
Printing = client side
So no, PHP can't print stuff.
Perhaps client side scripting (like javascript) can, but if any site did
that to me (forced stuff to be printed without my ok), i'd be pretty pissed
off.
I'd consider it a security problem -- what happens if some shitty site start
printing 1000 pages of some guys hairy arse???? No thanks!!
I know YOUR intentions are good, but not everyone's are...
Justin French
on 19/10/02 12:24 AM, Jason Vincent (jayv@nortelnetworks.com) wrote:
> Hey,
>
> All these "printer" functions seem to refer to the printer attached
> to the server. I am looking for a way to send a print job to the client's
> printer (without having to display the page they want to print out first).
> Is this possible? Any help would be appreciated. I am actually looking to
> print to a COD form, so any tips on how to format the printing for a COD
> form would be appreciated too. Thanks in advance,
>
> J
>
>