search for: prawn

Displaying 20 results from an estimated 46 matches for "prawn".

Did you mean: drawn
2010 Dec 01
1
Prawn : undefined method `make_table'
require ''prawn'' require ''prawn/core'' require ''prawn/layout'' Prawn::Document.new do |pdf| subtable = pdf.make_table([[ "foo", "bar" ], [ "baz", "bax" ]], :column_widths => [ 50, 50 ]) {...
2011 Jan 12
1
gem and rails3: LoadError
Hi everybody, I''m trying to use the prawn gem into a new rails3 application on debian. What I did: As root: - install rubygems, from http://rubyforge.org/frs/download.php/73882/rubygems-1.4.2.tgz - gem install rails - gem install prawn - gem install pdf-reader - gem list | grep prawn => prawn (0.8.4) prawn-core (0...
2009 Mar 23
6
PDFs prawn gem freeze into the app...
I was having great success with creating PDFs with prawn, I followed Ryan Bates latest screencast. All good. Trouble is when i come to deploy the app on my webhost I ran into trouble. Rails 2.3 app. I did, "sudo rake gem unpack prawn" to freeze it in. I put the app on my webhost but it won''t start, some error saying it can''...
2008 Oct 26
2
use Prawn to generate pdf
Hello: when i use Prawn to generate pdf file for download, i got a blank pdf file, can someone tell me why? require ''prawn'' class DownloadController < ApplicationController def download_pdf send_data(generate_pdf, :filename => ''test.pdf'', :type => ''applicatio...
2010 Mar 17
3
rails+prawnto: setting :type to :prawn in a #render_to_string call not working
Hello, my question is rails related though it is also somewhat specific to the prawnto plugin (installed latest version as of 2010-03-15). I would ask on a prawnto forum/list if I knew where one was. Anyhow, I''m using rails 2.3.5 (with ruby 1.8.6 patchlevel 111) in an app that is successfully using the prawnto gem (with the prawn gem version 0.7.1). I''ve got a a...
2008 May 30
0
Prawn (PDF in Ruby) BoF at RailsConf?
...;m not at RailsConf but if there are enough people interested in PDF generation in Ruby / Rails, please consider using the BoF sessions or some other time to get together and share thoughts about how PDF generation in Ruby can be better, and then have someone post notes from your discussions to the Prawn mailing list[0]. There are already a bunch of folks watching Prawn''s development on github, and I''ve already got a bunch of helpful contributions in the form of code and sample PDFs. If we could keep that momentum up, that''d be great. So, if someone could head up a lit...
2011 Jan 13
1
10.04 Ubuntu
...stall -y --reinstall libwxbase2.8-0 libwxbase2.8-dev libwxbase2.8-dbg } %x{ apt-get install -y --reinstall wx-common libwxgtk2.8-0 libwxgtk2.8-dev } puts "Copying Ruby libraries to /usr/local/etc for installation" FileUtils.cp %w( rubygems-1.4.1.tgz ruby-sysvipc-0.9.1.tar.gz prawn.tgz ), ''/usr/local/etc'' FileUtils.cd ''/usr/local/etc'' do puts "Installing updated RubyGems package manager." %x{ tar -zxvf rubygems-1.4.1.tgz } FileUtils.cd ''./rubygems-1.4.1'' do %x{ ruby ./setup...
2010 Jun 30
1
Prawn gem: How to create the .pdf from an *existing* file
Hi there, Can anybody show me (maybe copy/paste a simple code example) how to create the .pdf file from an existing (.xls) file, using the Prawn gem? Basically, I''d need the command that takes an existing (.xls) file to save it as a .pdf, afterwards. (I''m asking because the Prawn documentation at http://prawn.majesticseacreature.com/docs/ seems to be gone since quite a while - it''s not even usable via Google cac...
2011 Jan 12
14
WickedPDF vs PDFKit vs. Prawn, etc.
Thoughts on using WickedPDF vs PDFKit vs. Prawn or others for developing forms with dynamic content? TIA, Garrett Lancaster -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org...
2009 Mar 26
0
Prawn + PrawnTo + Rails 2.3.2
Hi, Have anyone made a successful usage of Rails 2.3.3 with PrawnTo and Prawn ? I followed all the tutorials I could find on Net, but I am not able to see pdf part working. I kept getting the error "Template is missing". I do have foo.pdf.prawn. Same goes with pdf/writer as well. Thank you. Regards Balaji D Loganathan Spritle Software, http://www.spri...
2009 Jul 20
9
rake error
...emcache-client (1.7.4) metaid (1.0) mini_magick (1.2.5) mislav-will_paginate (2.3.11) mocha (0.9.7) mojombo-chronic (0.3.0) money (2.1.3) mongrel (1.1.5) mysql (2.7) net-scp (1.0.2) net-sftp (2.0.2) net-ssh (2.0.11) net-ssh-gateway (1.0.1) nokogiri (1.3.2) notahat-machinist (1.0.3) polyglot (0.2.6) prawn (0.5.0.1) prawn-core (0.5.0.1) prawn-format (0.2.0.1) prawn-layout (0.2.0.1) rails (2.3.2, 2.2.2) rake (0.8.7) rcov (0.8.1.2.0) RedCloth (4.2.2) relevance-rcov (0.8.3.4) rmagick (2.10.0) rspec (1.2.7) ruby-debug (0.10.3) ruby-debug-base (0.10.3) ruby_parser (2.0.3) rubyforge (1.0.3) searchlogic (2....
2010 Aug 22
5
Help me... how to convert amchart to pdf
Hi Guys I need help.. I want to making 1 controller for covert html to pdf.. But that html have amchart (swf). When I tried convert, the swf not loadded... Any body can help me Please???? -- Senior Rails Developer Anton Effendi - Wu You Duan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send
2008 Oct 17
0
Prawn 0.2.1, 0.2.2 (Fast, nimble PDF generator for Ruby)
Hi folks, A new release of Prawn is out, with some bug fixes and a couple backported features from edge. This release is API-compatible with 0.2.0, so please do upgrade! Release notes at: http://blog.majesticseacreature.com/archives/2008.10/prawn_0_2_1-2.html Enjoy! -greg -- Technical Blaag at: http://blog.majesticseacreature....
2010 Sep 30
0
How to download Prawn pdf while using form submit?
submit.pdf.prawn files pdf.text "successfully submitted" form controller file def index @forms = Form.all respond_to do |format| format.html end end def submit respond_to do |format| format.pdf {render } end end -- Posted via http://www.ruby-forum.com/. -- You rece...
2012 May 22
4
Creating formatted PDFs
...I have a list of members, and in the "mailings" controller I mix the template with the members data to create a PDF with a letter to every member. This is all working correctly... Except one part: I don''t know how to render correctly the HTML in the PDF file. Currently I use the Prawn library to create the PDF''s. The generation of the PDF is very easy, but it doesn''t render the HTML codes, so if in the template appears something like "<b>Hello Mr. {NAME}</b>", in the final PDF appears the same text, and not "Hello Mr. {NAME}" in...
2010 Mar 16
7
Recommendations for pdf generators
hi, everyone, i have googled around for some pdf generators. Found 1) PDF::Writer which is a little dated 2) Rupdf (http://scoop.simplyexcited.co.uk//2007/12/15/rupdf-simple- ruby-pdf-rails-plugin/ and http://agilewebdevelopment.com/plugins/rupdf) - it''s a little dated. Last revision was on 15th of Dec, 2007. Any recommendations for pdf generators? thank you -- You received this
2011 Nov 02
3
form_for text_field
...ory_girl (1.2.4) fastercsv (1.5.3) formtastic (0.9.8) gem_plugin (0.2.3) gherkin (2.3.2 x86-mingw32, 1.0.26 i386-mingw32) hike (1.2.1) i18n (0.6.0, 0.5.0) json (1.4.6) json_pure (1.4.6, 1.4.3) linecache (0.43) log4r (1.1.7) mongrel (1.1.5 x86-mingw32) multi_json (1.0.3) nokogiri (1.4.1 x86-mingw32) prawn (0.8.4) prawn-core (0.8.4) prawn-layout (0.8.4) prawn-security (0.8.4) rack (1.3.5, 1.2.1, 1.0.1) rack-cache (1.1) rack-mount (0.8.3, 0.6.13) rack-test (0.6.1, 0.5.6) rails (2.3.5) rake (0.8.7) remarkable (3.1.13) rspec (2.2.0, 1.3.0) rspec-core (2.2.1) rspec-expectations (2.2.0) rspec-mocks (2.2.0...
2012 Mar 20
9
Rails 3 generate pdf
Dear All, i am developing an application with rails 3, and now i need to generate a pdf file,i search a lot, and try a lot ,such as prawn ,PDFkit and so on, it seems that prawn is no response in rails3, and when i use PDFKit, it asked me to install wkhtmltopdf first, i try to install this,but failed, anyone can help me ? Thanks very much. Daisy -- Posted via http://www.ruby-forum.com/. -- You received this message because you a...
2012 Jul 20
1
Pie Chart on Prawn
Hi friends, I just finished working on an application, which renders a pie chart on the webpage and i want users to have it on their pdf page, pls i there a way to render the Pie Chart (High Charts) on PDF page -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group,
2009 Sep 15
2
precision multi-page printing
I am at a point where I will need to print checks in an application. I guess the best way to describe this is that I am using pre-printed checks and that I want to hit the prescribed areas with my text output. Should I be doing something like PDF output like pdf-writer or other or can I possibly do this with html and css? My output will be check runs of many checks with 1 page per check. Any