Re[2]: [PHP] printing with PHP
| From: | Burhan Khalid | Date: | Thu, 22 May 2003 12:38:07 +0000 |
| Subject: | Re[2]: [PHP] printing with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148545@lists.php.net to get a copy of this message | ||
Hello Jyry,
Thursday, May 22, 2003, 2:41:09 AM, you wrote:
JK> On Thu, 22 May 2003, Iñaki Atienza wrote:
>> thanks for answering daniel,
>>
>> I was thinking more about server side printing (the client only fills in the
>> form and submit it to the restaurant where the order gets printed
>> automatically ). Have any ideas for this ?
>>
>> iatz.
JK> If the server runs M$-Windows, you are most likely out of luck.
Don't be quick to count out Windows....
If your printers are set up properly, you can simply use command line
redirection to print your document from PHP by simply executing :
copy file.doc > lpt1
Which will send the file to default printer (which is on lpt1)
--
Best regards,
Burhan