Re: automate printing of html-formatted pages?
On Fri, 2 Sep 2005, Matt Price wrote:
...
> wget -m -k http://some.website.com/
>
> and then:
>
> #! /bin/bash
> find /path/to/top/level -type f -iname *.html | while read file; do
> html2ps -gn $file > "$file".ps ;
> done
> find /path/to/top/level -type f -iname *.html | while read psfile; do
> lpr $psfile
> done
>
> unfortunately, this doesn't work very well -- among other things,
images makes simple "cat $html" not work either, otherwise,
cat $html | lpr -Ppostscriptprinter -
how about:
while ( have-html-pages ) {
konqueror option-to-display-to-stdout http://any-web-page \
| lpr -Ppostscript -
}
ie .. let mozilla/konqueror/galeon do your rendering locally
but to dump to STDOUT instead
c ya
alvin
Reply to: