OK, but here's the rub:

I need to print a web page. Any ideas?



"Jan Tore Morken" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Yes, it's possible, I've done it myself.
>
> Here is a piece of example code:
> $handle = popen("lpr -P printer", "w");
> fwrite($handle, $message."\n");
> pclose($handle);
>
> Hope this can help you a bit. To see what I used it for, check this
> out: http://www.wobbled.org/printer/
>
> Regards,
> Jan Tore Morken
>
>
> On Wed, 21 Jul 2004 12:16:31 -0400, Vern <[EMAIL PROTECTED]> wrote:
> > I need to send the output of a web page to a printer on a schedule
> > (obviously I'll use a cron job for scheduling) and am wondering if I can
do
> > this through php. I know you can use the command line lpr in SSH but can
I
> > use PHP do do it?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to