[sf-lug] printing web content
Tom Haddon
tom at greenleaftech.net
Mon Nov 24 17:26:14 PST 2008
On Mon, 2008-11-24 at 16:48 -0800, Alex Kleider wrote:
> --- On Sun, 11/23/08, John Magolske <b79net at gmail.com> wrote:
>
>
> > > > http://www.debian.org/doc/manuals/apt-howto/
> > >
> > > is there a way to download such a 'howto' all
> > at once instead of one
> > > chapter at a time? I's like to bring it in as one
> > document and then
> > > send it to a printer.
> >
> > On the Users' Manuals overview page, various formats
> > are listed:
> > http://www.debian.org/doc/user-manuals
> >
> > Maybe one of these will suit your needs:
> > http://www.debian.org/doc/manuals/apt-howto/apt-howto.en.pdf
> > http://www.debian.org/doc/manuals/apt-howto/apt-howto.en.ps
> > http://www.debian.org/doc/manuals/apt-howto/apt-howto.en.txt
>
> Thanks for the reference. That get's me a nice print out of the APT HOWTO.
>
> The broader question still stands: is there a way of printing a manual or other content that appears in the format of many chapters such as:
> > > > http://www.debian.org/doc/manuals/apt-howto/
> Having to print each section independantly is so 'non-unix!'
How about:
wget -P apt-howto -r -p -k --no-parent -nH --cut-dirs=3
http://www.debian.org/doc/manuals/apt-howto/
cd apt-howto
for i in *.html; do links -dump $i >> output.txt; done
lpr output.txt
Is that unix-y enough for you?
Cheers, Tom
>
> alex
>
>
>
>
>
> _______________________________________________
> sf-lug mailing list
> sf-lug at linuxmafia.com
> http://linuxmafia.com/mailman/listinfo/sf-lug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://linuxmafia.com/pipermail/sf-lug/attachments/20081124/0454d3c6/attachment.pgp>
More information about the sf-lug
mailing list