Re: AW: [PHP] Sending the output of a web page to a printer
| From: | Justin Patrin | Date: | Wed, 21 Jul 2004 23:36:42 +0000 |
| Subject: | Re: AW: [PHP] Sending the output of a web page to a printer | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191448@lists.php.net to get a copy of this message | ||
On Wed, 21 Jul 2004 15:58:24 -0700, Ed Lazor <ed.lazor@d20news.com> wrote:
> You can also use wget to grab the web page and then pipe it to lpr
>
This will also just grab the page's HTML and print it.
>
> > -----Original Message-----
> > > OK, but here's the rub:
> > >
> > > I need to print a web page. Any ideas?
> > >
> >
> > you should be able to use
> >
> > exec('lpr page.html');
>
--
DB_DataObject_FormBuilder - The database at your fingertips
http://pear.php.net/package/DB_DataObject_FormBuilder
paperCrane --Justin Patrin--