Displaying 20 results from an estimated 3000 matches similar to: "Prawn 0.2.1, 0.2.2 (Fast, nimble PDF generator for Ruby)"
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 -
2008 May 30
0
Prawn (PDF in Ruby) BoF at RailsConf?
Hey folks,
Unfortunately I''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
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 =>
''application/pdf'')
end
private
def generate_pdf
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 received this message because you are subscribed to the Google Groups "Ruby on
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 ]) {
column(0).background_color = "808080"
cells.borders = []
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
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.spritle.com
--
Posted via
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''t find prawn.
Any ideas? (summary: works
2008 Oct 02
0
Re: How to export data in pdf and excel format ?
PDF generation
Prawn
http://github.com/sandal/prawn/tree/master
pdf writer
http://ruby-pdf.rubyforge.org/pdf-writer/
ruby fpdf
http://zeropluszero.com/software/fpdf/
Prawn is very good and well maintained in terms of development and new
features added
regards
Senthil
http://blog.railsfactory.com
--
Posted via http://www.ruby-forum.com/.
2016 Dec 05
0
NIMBLE package for hierarchical modeling now on CRAN
NIMBLE version 0.6-2 has been released on CRAN and at r-nimble.org.
NIMBLE is a system that allows you to:
- Write general hierarchical statistical models in BUGS code and
create a corresponding model object to use in R.
- Build Markov chain Monte Carlo (MCMC), particle filters, Monte
Carlo Expectation Maximization (MCEM), or write generic algorithms
that can be applied to any model.
-
2016 Dec 05
0
NIMBLE package for hierarchical modeling now on CRAN
NIMBLE version 0.6-2 has been released on CRAN and at r-nimble.org.
NIMBLE is a system that allows you to:
- Write general hierarchical statistical models in BUGS code and
create a corresponding model object to use in R.
- Build Markov chain Monte Carlo (MCMC), particle filters, Monte
Carlo Expectation Maximization (MCEM), or write generic algorithms
that can be applied to any model.
-
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/.
--
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
To unsubscribe from this group, send email to
2010 Jan 15
2
Generating views in pdf, rtf, or doc format
I have a requirement to generate views (list and show views, including
data and uploaded images) into a format that can be saved and/or
emailed. I''m looking for opinions on the easiest way to achieve this.
I''ve researched the use of both PDF::Writer and Prawn, and it seems that
to re-generate my views in pdf format will require a lot of work. Is
there an easier way using .rtf
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.8.4)
prawn-layout (0.8.4)
2012 Feb 22
6
PDF Creation Best Practise
Hi there,
I''m looking for a powerful pdf creation libary. I already tried:
prawn - Nice handling but way too slow when lots of tables are
involved
PDFKit - too slow
Actually I''m trying prince with xml input. It''s pretty fast but I
don''t like the page-break control.
I need a libary which can create pdf''s with up to 90 pages with lots
of nested
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,
2011 Jan 13
1
10.04 Ubuntu
Hi, Chauk-Mean and all -
I have just ported everything to 10.04 ubuntu, and I am pleased to note that
I was able to use prepackaged stuff almost everywhere.
Yes, it was painful before I figured it out. :)
I used apt-get to install ruby-1.8.7, all the wx libraries (including the
dev header packages)
I uninstalled the debian rubygems package completely and installed
rubygems-1.4.1 from the
2008 Sep 01
4
Generating Images/PDF Server-Side
Hi,
I am working on a project where I need to generate a chart (a bit like a
pie chart, but very customised) and insert this into a PDF document.
Does anybody have any advice on ruby libraries (or other techniques) for
doing this? Open to suggestions?
The resulting PDF will be designed for printing and so ideally should be
vector throughout (or any raster images 300dpi). I was thinking of some
2010 Jan 02
0
Print a PDF directly after prawnto with iframes
Hi,
I think I''m very near of accomplishing this but I have a problem.
This is the code:
<%- content_for :head do -%>
<script type="text/javascript" charset="utf-8">
function printPDF(){
var pdf = document.getElementById("pdfDoc").contentWindow;
pdf.focus();
pdf.print();
}
</script>
<%- end -%>