From: Gregory Brown Date: 2007-07-19T02:08:08+09:00 Subject: Re: html 2 pdf On 7/18/07, M. Edward (Ed) Borasky wrote: > 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 This would probably work pretty good. I've done it before. A ruby wrapper for this would be most appreciated, if anyone is looking for a project! > (http://search.cpan.org/~mkfrankl/HTML-HTMLDoc-0.10/). Or you could > build something out of "hpricot" and "pdf-writer". If you do this, I suggest using Ruport instead of PDF::Writer for your PDF stuff. Of course, Ruport just wraps PDF::Writer, but it fixes some bugs (thanks to Austin Ziegler) and adds some higher level features and helps wrap the formatting code. Some relevant docs if that's feasible for you: http://rubyreports.org/cheatsheets/formatting.html http://ruportbook.com/printable_documents.html http://ruportbook.com/integration.html#pdf_writer_proxy http://ruportbook.com/renderer_logic.html