Re: Printing using php script CRON

From: Date: Tue, 27 Jul 2004 12:48:45 +0000
Subject: Re: Printing using php script CRON
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-191964@lists.php.net to get a copy of this message
On Tuesday 27 July 2004 20:33, Vern wrote: > > If you have a printer attached to the server from where the cron is > > running you might try > > lynx --dump http://yoursite.com/cronjob.php >lpt1 > >or something similar. Not tested. > > Actually it's a netwotl printer and in order to print the job I need to > type the following on the box: > > lpr -P hp1300n myfilename.txt > > So I'm not exctaly sure how I can do that. Try: lynx --dump http://yoursite.com/cronjob.php | lpr -P hp1300n -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Mene, mene, tekel, upharsen. */

« previous php.general (#191964) next »