prawn
Pdf generation with Rails 3
I need to generate PDFs with Rails 3.0.3. Prawn + Prawnto looks great as showed by Ryan B开发者_运维技巧ates[详细]
2023-02-07 20:38 分类:问答How to replace a word in an existing PDF using Ruby Prawn?
-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[详细]
2023-02-07 20:26 分类:问答Prawn templates not working
I´m trying this simple script: require \'prawn\' template_file_name = File.join(File.di开发者_JS百科rname(__FILE__), \'template.pdf\')[详细]
2023-02-06 20:22 分类:问答problems updating to new version of prawn on production server with bundler
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[详细]
2023-02-03 15:11 分类:问答Formatting Tables in Prawn (this seems to be a common problem)
I\"m having no luck formatting a table in a PDF 开发者_开发技巧served from a Rails action using Prawn.[详细]
2023-02-03 01:12 分类:问答how do I set margins in Prawn in ruby?
This is what I have so far, but I need to set margins: def send_fax contact = Contact.find_by_id(self.contact_id)[详细]
2023-02-02 05:30 分类:问答RUBY+ PRAWN -Template::Error (can't convert nil into Float)
I\'m using PRAWN to create pdf. I\'m getting error on this line: pdf.text story.description.gsub(/<\\/?[^>]*>/, \"\"), :size开发者_开发知识库 =>12[详细]
2023-02-01 08:13 分类:问答How to set two different font style in one single line with prawn in Ruby on Rails generating a PDF file?
I have the following code: pdf = Prawn::Document.new pdf.text \"Hello\", :size => 22 pdf.text \"wold\", :size => 12[详细]
2023-01-28 08:06 分类:问答Using whole space of pdf file
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?[详细]
2023-01-27 23:59 分类:问答prawnto and text format
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[详细]
2023-01-26 08:42 分类:问答