bulk printing html files

Mitch Contla mcontla at gmail.com
Tue May 1 14:35:13 UTC 2007

On 5/1/07, Hubertus Hiden <hubertus at hiden.org> wrote:
> Mitch Contla schrieb:
> > If I understand you correctly, you are trying to print the actual
> > source html file. Why not open a shell and use lp (or lpr):
> >
> > $ lp /path/to/your/files/*.html
> >
> > This will send each file to your default printer as a single job.
> >
> > --
> > Mitch
> Sorry, that's what I've forgot to mention. I don't want to print the
> source, I want to print the rendered html. And therefore I guess that I
> need to pass the html file over to firefox or something similar and then
> start the printing process.
> Hubertus
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Then Jakob's earlier suggestion is probably your best bet:

>>If you're sure they are fitting on one page, you could try something
>>like this:
>>for i in *.html ; do elinks -dump $i |lp ; done

lynx, links2 and elinks all have a -dump command that prints the formatted
output of a URL (or file) to stdin. Piping that to lp is this simplest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070501/7ef9c963/attachment.html>

More information about the ubuntu-users mailing list