- To: Syndey Linux Users Group <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] OT? Printing and viewing PHP code from WWW.
- From: Rodos <rodos@xxxxxxxxxxx>
- Date: Wed Oct 25 15:37:12 2000
On Thu, 26 Oct 2000, Michael Lake wrote:
> I am looking at www.devshed.com/Server_Side/PHP/PHP101_1/
> which has some excellent PHP tutorials but when I try to
> print the article (even the printer friendly one) the code
> within the <PRE> tags does not show. Im using Netscape, I
> tried Opera also. I can see it on the screen as follows:
>
> <?php
> phpinfo();
> ?>
[snip]
> I just want to save the pages and view/print them later to
> teach myself PHP.
So if Netscape has problems printing it use something else. Take the URL
and
w3m http://www.devshed.com/Server_Side/PHP/PHP101_1/page2.html -dump |
a2ps -o /tmp/php1.ps
w3m marks up the page quite well. Just save it as HTML and view it that
way or dump it out, convert it to postscript and print it.
<friendly dig> You need to get hour hands of that mouse and onto the
keyboard man! </friendly dig>
Rodos
--
rodos@xxxxxxxxxxx | It is a simple task to make things complex, it is a
Camion Technology | complex task to make things simple. [Tom DeMarco 1989]
+61 2 9873 5105 |