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. -- Posted via http://www.ruby-forum.com/.
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 -- Posted via http://www.ruby-forum.com/.
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, > SteveThanks Steve. Will check it out. -- Posted via http://www.ruby-forum.com/.
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 -- Posted via http://www.ruby-forum.com/.