Wednesday, July 16, 2008

Converting html to pdf

I wanted to put the content of the SCEA 5 Study Guide in one single pdf document.
This is what I did:

Download all the files used by the page with wget:
wget -r

Convert the downloaded html-pages into one pdf with htmldoc:
htmldoc index.html pr01.html pt01.html ch*.html pt02.html --outfile scea5-guide.pdf --footer /

On the Mac you can easily install wget and htmldoc with fink:
fink install wget htmldoc-nox


  1. that's really a fantastic post ! ! added to my favourite blogs list..

  2. I have been reading your blog last couple of weeks and enjoy every bit. Thanks.


Related Posts Plugin for WordPress, Blogger...