bulk printing html files

Jakob Lenfers ubuntu.mailinglisten at jl42.de
Tue May 1 06:20:09 UTC 2007


Hubertus Hiden <hubertus at hiden.org> writes:

> 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 ?

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

Jakob
-- 
Lenfi is blogging: Lenfis bLog: <http://blog.jl42.de> (mostly german)




More information about the ubuntu-users mailing list