RE: PHP 4 Printing Question
| From: | Florian Clever | Date: | Mon, 18 Dec 2000 07:07:29 +0000 |
| Subject: | RE: PHP 4 Printing Question | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-4520@lists.php.net to get a copy of this message | ||
>My company is developing an application where we use a web browser to record attendees at a
>group >function and we want to use PHP 4 for the development.
>
>One of the application requirements is to print an ticket to go into a prize drawing. We know
>how to >use the html print function; but that doesn't really give us the printing
>flexibility that we need.
Internet Explorer should give you all the flexibility you need, such as
Page breaks, Headers, Footers.
Another option is generating a PDF Document or if you clients are
Windows a MS Word dokument on the fly and sending it to the client. PDF
is not hard at all with PHP. See the manual examples!
>
>What we are envisioning is creating a PHP script, running on a WinNT server (where PHP 4 lives),
>>that runs every minute. The script would read a db table looking for tickets to print, access
>>another db table to select and format the print file and write it to a networked windows
>printer. Is >it possible for a PHP script to write to a windows printer like this?
--
Florian Clever
fc@clever-soft.com
http://www.Clever-Software-Solutions.de/
PGP Key @ ldap://certserver.pgp.net/
"I do not think," said Descartes, and promptly disappeared.