bulk printing html files

Hubertus Hiden hubertus at hiden.org
Tue May 1 13:23:09 UTC 2007


Gabriel Dragffy schrieb:
> 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.
>
>   
I've tried that but the layout of the result is quite broken ...





More information about the ubuntu-users mailing list