From: "M. Edward (Ed) Borasky" Date: 2007-07-19T00:17:05+09:00 Subject: Re: html 2 pdf David Southwell wrote: > Hi > > IIs there a gem for converting html to pdf? > > I need to build a routine to step through a website and create a pdf from the > downloaded pages. > > Thanks in advance > > david Southwell > > > If not, you could probably just shell out to the open source htmldoc http://www.easysw.com/htmldoc/. There's a Perl interface you can learn from, HTML-HTMLDoc (http://search.cpan.org/~mkfrankl/HTML-HTMLDoc-0.10/). Or you could build something out of "hpricot" and "pdf-writer".