bulk printing html files

Gabriel Dragffy dragffy at yandex.ru
Tue May 1 13:09:23 UTC 2007

Hubertus Hiden wrote:
> Mitch Contla schrieb:
>> On 4/30/07, *Hubertus Hiden* <hubertus at hiden.org
>> <mailto:hubertus at hiden.org>> wrote:
>>     I have a bunch of about 200 html files. Every file prints to
>>     exactly one
>>     page. Could anyone please be so kind and give me a hint on how I could
>>     accomplish printing them from the commandline ? Or any other
>>     method that
>>     doesn't require opening 200 files and clicking print ?
>>     Many thanks,
>>     Hubertus
>>     --
>>     ubuntu-users mailing list
>>     ubuntu-users at lists.ubuntu.com <mailto:ubuntu-users at lists.ubuntu.com>
>>     Modify settings or unsubscribe at:
>>     https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>> 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

Perhaps you could use the package html2ps to generate postscript files 
and then feed these to the printer.

More information about the ubuntu-users mailing list