I need to generate PDFs with Rails 3.0.3. Prawn + Prawnto looks great as showed by Ryan B开发者_运维技巧ates
-Hello Sandeep here. I am an apprentice to the Jedi Master Yoda. My master believes the force is strong in the Ruby community and has ch开发者_开发知识库osen me for a simple task to complete using the
I´m trying this simple script: require \'prawn\' template_file_name = File.join(File.di开发者_JS百科rname(__FILE__), \'template.pdf\')
I have updated my code etc to work with the 0.10.2 version and its all working in development. When i deployed to my production server and done a bundle install i
I\"m having no luck formatting a table in a PDF 开发者_开发技巧served from a Rails action using Prawn.
This is what I have so far, but I need to set margins: def send_fax contact = Contact.find_by_id(self.contact_id)
I\'m using PRAWN to create pdf. I\'m getting error on this line: pdf.text story.description.gsub(/<\\/?[^>]*>/, \"\"), :size开发者_开发知识库 =>12
I have the following code: pdf = Prawn::Document.new pdf.text \"Hello\", :size => 22 pdf.text \"wold\", :size => 12
I am using prawn to create pdf file but it always leaves some space开发者_开发问答s/margins around the page. Can\'t we use whole space of the pdf file not leaving any margins around?
Prawn/prawnto is cool stuff to 开发者_JS百科generate pdf file. But I am not able to render formatted text exactly as they are. Prawn is rendering all the html tags <b>, <i>, <p> as string. Be