Create PDF using shrimp and shrimp

Does anyone use shrimp / shrimp with jruby on rails? I installed shrimp 0.5.01 and rails 2.3.2. I just installed shrimp and shrimp and started playing with the possibilities of creating PDF files. I am worried that the pranwto site is no longer online - http://www.cracklabs.com/prawnto Is this rails plugin dead? Or has he moved somewhere? Building on other posts Create PDF from Rails , they look like tools for creating PDF files for Ruby and (J) Ruby on Rails. Can anyone with experience with PDF-gen in RoR confirm that this is still the way to go?

(Note: I use Jruby on Rails, so if Java has a better option or something that I should study further, let me know ... I googled the Flying Saucer project from this post that seemed interesting ... thoughts on this project?)

+4
source share
3 answers

The prawnto plugin is ready and live on Github , albeit without much documentation.

I created several Rails applications that put the beginning and the beginning in PDF format, and I can definitely confirm that Prawn / Prawnto is the way to go. The DSL provided by Prawn is really elegant and enjoyable to work with, and although the library is not as functional as the others, it handles most of what you need out of the box without any pain.

I saw Gregory Brown (author of the Prawn library) talking about the Ruby implementation, and he was a JRuby user. I would be surprised if you find any problems there, although I personally have not used shrimp with JRuby.

Prawn Google Group is relatively active and useful, so you can also check it out.

It appears that the Prawn site is still available.

+2
source

We tried all of these solutions (prawn / prawnto, Prince, Ruport and, I think, even a PDF writer) before we stumbled upon the " Wicked PDF " Rails plugin and wkhtmltopdf .

It was a LIFE SAVE!

A combination of plugins and utilities uses Webkit to create PDF documents from your views. That way, you can reuse all of your HTML, erb, haml, css and sass to create great PDFs without rewriting anything.

The utility (wkhtmltopdf) is Open Source and is available in source packages as well as in binary packages for Linux, Windows and Mac. Of course, our pathetic stocks should run Solaris, so I’ve been trying to compile this thing for a month ... arg .:-)

+4
source

It seems that the shrimp has been ported to GitHub. You should be able to download the source there.

http://github.com/sandal/prawn/tree/master

Also - as of 10/08/2009, the latest changes to the library seem to have been July 19, 2009. So the library seems to be alive.

0
source