Rendering html on pdf

Hi all,

i want to render some html text into pdf using ruby’s pdf writer.

however, the pdf.text cannot deliver that.

does anybody has a solution for that?

thanks in advance!

On Thu, Jun 11, 2009 at 4:40 PM, twittwit[email protected] wrote:

Hi all,

i want to render some html text into pdf using ruby’s pdf writer.

however, the pdf.text cannot deliver that.

does anybody has a solution for that?

If your needs are very basic, try Prawn::Format.
If you can use JRuby, try FlyingSaucer
If you have lots of $$$, Try PrinceXML
If you are persuasive, convince Aaron P. to write his html2pdf
formatter for Prawn.

-greg

thanks greg.

On Thu, Jun 11, 2009 at 3:44 PM, Gregory
Brown[email protected] wrote:

If your needs are very basic, try Prawn::Format.
If you can use JRuby, try FlyingSaucer
If you have lots of $$$, Try PrinceXML

In talking with Yehuda K., it sounds like iText/FlyingSaucer does
just about everything you would pay $$$ for in PrinceXML, so I’d
strongly suggest going that route. You could even set up a JRuby
Sinatra/DRB server just for this…it would be worth it.

  • Charlie