Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown    



PRINTING WEB PAGES AS .TXT
( Using the command line )



Imagine you want to print a web page as a simple text file, no pictures, no colors, just text for easy reading. In that case this could be an example:

CODE
$ lynx -dump http://www.damnsmalllinux.org >DSL.txt

( Sure you need to have "lynx" installed )

The command above places a "DSL.txt" text file ready for printing in your /home directory so next you can send it to your printer:

CODE
$ lpr DSL.txt


That's all there is to it, simple, clean, efficient . . . . . ( you will notice that at the bottom of the file that all the links from the site are nicely numbered and listed )



Bruno



-- Jan 3 2006 --



Tips Linux Explorers   All Things Linux Forum   Great Linux Links   LinuxClues.com   Hometown