Forms to pdf generation

hello Everyone,

would like to search this subject in the forms, but since search is
disabled I am posting this one. Any insight is much appreciated.

I am a newbie to ROR. Wondering what it takes to take a form that is
filled by a user and generate a PDF on the fly for his to save or print.
I am aware of some PDF libraries for PHP to accomplish this, but not
quite sure how to get this done in ROR !!

Thanks for your time.
VASU.

You might take a look at http://rubyforge.org/projects/railspdfplugin/

It will require you to create .rpdf views for each form view, but it
should do the trick.

Thanks,
Steve

Steve Webb wrote:

You might take a look at http://rubyforge.org/projects/railspdfplugin/

It will require you to create .rpdf views for each form view, but it
should do the trick.

Thanks,
Steve

Thanks Steve. Will check it out.

VASU wrote:

Steve Webb wrote:

You might take a look at http://rubyforge.org/projects/railspdfplugin/

It will require you to create .rpdf views for each form view, but it
should do the trick.

Thanks,
Steve

Thanks Steve. Will check it out.

Just to further elaborate on Steve’s post, I believe the above plugin
relies on PDF::Writer.

Here’s a link to the project webpage as well as an article on usage.
There’s also an extensive manual on the PDF::Writer homepage that should
help you get started.

http://ruby-pdf.rubyforge.org/pdf-writer/
http://www.artima.com/rubycs/articles/pdf_writer.html

Cheers,
Dan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs