Marnen Laibow-Koser wrote: > Jonathan Steel wrote: >> I would like to take a rails page and convert it to a pdf. I don't want >> to have to generate the code myself for making the pdf, so it should >> obey css. What is the best tool for doing this? > > Prince is supposed to be great, but it's expensive. Free alternatives > include wkhtmltopdf, prawn_format, acts_as_flying_saucer... >
A lot of people seem to be raving about Prince, which I find odd coming from a community like rails. It is indeed expensive. I tried it on a complex site, and it came crashing to its knees. I have looked into prawn and am so far impressed. I'm just scarred that it won't be able to do a complex pdf that looks like what you would see on a web site. As for the others, I had planned on looking into wkhtmltopdf, and have not heard of the other two. Thanks for your input. >> Does the tool use the >> standard css, or can I provide it alternative print-css? > > Print CSS is standard. > I know its standard for when you are printing. But are there tools that will pic up the print css and use that? >> >> Thanks in advance, >> Jonathan Steel > > Best, > -- > Marnen Laibow-Koser > http://www.marnen.org > [email protected] -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

