Re: Printing text on a printer in PHP4 Using PRINTER function
| From: | Frank M. Kromann | Date: | Wed, 18 Jul 2001 14:24:38 +0000 |
| Subject: | Re: Printing text on a printer in PHP4 Using PRINTER function | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8376@lists.php.net to get a copy of this message | ||
Hi,
The php_printer.dll can only be used to print on a printer attached to the server (or a network
printer known by the server).
Remember that PHP is a server based scripting language. The content you are sending to the client
(HTML documents) are handled by the client alone.
If your client is a browser you have to use the prowsers priinting functions. For security resons
these functions can not be accessed from the server. Could you imaging your local printer printing
ad's each time you visited a web site ?
- Frank
> Does anybody has a script that will print basic text to a printer that is on
> the client side. In PHP4 it must be possible to write text to the printer.
> I'm working with EasyPHP. Do i have to include the file 'php_printer.dll' in
> the extensions dir and what lines do i have to add in the php.ini file? I
> just want to print text. Can anybody help me please.
> I can't find it anywhere.
>
> William Schipper
> w_schipper@hotmail.com
>
>
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>