Creation of pdf using rpdf

Tushar Gandhi wrote:

I want to generate a pdf by using rpdf plugin. Can anyone tell me how to do that?

Google is your friend here... :slight_smile:

What are the gems or plugins will be required for that? Is there any tutorial available for this? Is it possible to create table structure into it? If anyone knows any URL then that will be great.

You need http://ruby-pdf.rubyforge.org/pdf-writer/ as rpdf is dependent on this gem. The documentation here describes very thoroughly how to make PDF's

The only other thing you need is an example of using Rpdf on top of this - e.g. in a view:

http://railspdfplugin.rubyforge.org/wiki/wiki.pl

- Carsten

Tushar Gandhi wrote:

I have one more question Is it possible to create table structure into it? If yes how to do that? Is there any documentation available for the rpdf?

You will find all you need here:

http://ruby-pdf.rubyforge.org/pdf-writer/

- Carsten