Re: Re[2]: [PHP] printing with PHP

From: Date: Thu, 22 May 2003 13:44:17 +0000
Subject: Re: Re[2]: [PHP] printing with PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-148562@lists.php.net to get a copy of this message
> >> 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) Or use the Printer Functions http://www.php.net/manual/en/ref.printer.php ---John Holmes...

« previous php.general (#148562) next »