Displaying 20 results from an estimated 6000 matches similar to: "Re: How to export data in pdf and excel format ?"
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
2006 Jun 19
0
PDF::Writer VS Ruby FPDF
Hi list,
I see almost all people here uses PDF::Writer for generating pdf
documents with rails. I used it too at first, but am using both now and
would like to see some advantages and shortfalls you came using each of
these two packages. Here are my thoughts for now:
PDF::Writer:
- extensive documentation
- writen using ruby conventions
- easy to use
- some bugs with embeding fonts prevent
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 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 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
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
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
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
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.com | Non-tech
stuff at: http://metametta.blogspot.com
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/.
--
2007 Nov 01
0
Urgetn Openings for RoR Programmers
Hi ALL,
Greetings!!!
It''s been great to see you all sharing/discussing/suggestions the topics
about Ruby on Rails (RoR).
About US:
Before that, I''ve introduced myself. I''m K.Saravana Kumar, HR for one of
the upgrowing software company , Chennai. Our company name is
RailsFactory. We are in the market for almost 1.5 yrs. We are working
for more US,UK clients and
2006 Jul 03
5
FPDF set FONT_PATH
hi all,
im using ruby FPDF to generate my pdf. the problem im facing now is i
need to use some new font that is not included in basic fpdf font. then
i have generated the font using the makefont.rb. but then i dont know
how to define the font_path in ruby. the font work great in PHP-FPDF. Is
anybody there had solved the problem im facing now.
** sorry for my english ...
--
Posted via
2008 Sep 24
0
generating pdf documents with PDF, missing FPDI
Hello,
with PHP I often generating PDF documents with the FPDF library. This
library is ported to Rails and work fine for my tasks until now.
Now I have to edit and extends some PDF master drafts with some text.
Under PHP I using FPDI for this task. Now I can''t find a port of FPDI to
Ruby.
Anybody know an other gem for editing PDF master drafts?
If no, can anybody help me, porting FPDI
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 = []
2006 Sep 13
0
PDF file manipulation
Is anyone aware of a ruby program for manipulating existing PDF files.
All the ones I''ve looked at start from scratch. PHP fpdf has an
extention for this called fpdi.
Thanks,
Mike
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2008 Sep 11
0
[Re: Asterisk CDR Problem for Export CSV (Asterisk-stat-v2)]
Dear Max,
Yes, I have modified line no 5 with include_once(dirname(__FILE__) .
"/lib/fpdf.php');
But I can not also see export to csv or export to pdf option from
download cdr data as I required within date.
--
With Regards,
Hiren Mistry
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
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