Generate PDF

Hi !

I need to create some pdf from my application. I have a table people
with a field address and I need to generate a pdf of label of each
address ( I think 10 labels per page). The pdf can have around 500
pages.
Which library should I use to do it ? I read some information about
different library to generate pdf but I don’t know if all library are
a good choice for generate “big” pdf like that ? And I don’t know if
one library is the best choice to print pages of label like that ?

Thanks for your help !

Adrien

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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

Hi Adrien,

On Mon, 2010-01-04 at 15:54 -0800, Adrien C. wrote:

Hi !

I need to create some pdf from my application. I have a table people
with a field address and I need to generate a pdf of label of each
address ( I think 10 labels per page). The pdf can have around 500
pages.
Which library should I use to do it ? I read some information about
different library to generate pdf but I don’t know if all library are
a good choice for generate “big” pdf like that ? And I don’t know if
one library is the best choice to print pages of label like that ?

Assuming you really want to do this with a pdf, I’d recommend starting
with Prawn. Labels, in general, can be a bit of a pain though, since
they come in so many sizes. Most of the label printing software I’m
aware of is non-web based, so you may want to look at the larger picture
before settling on the functionality you need in your app.

HTH,
Bill

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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

Thanks for your answer !
I will search some informations about prawn.

adrien

Hi
You can also do this using acts_as_reportable gem
but prawn is always best for complicated pdfs.

On 1/5/10, Adrien C. [email protected] wrote:

with Prawn. Â Labels, in general, can be a bit of a pain though, since
they come in so many sizes. Â Most of the label printing software I’m
aware of is non-web based, so you may want to look at the larger picture
before settling on the functionality you need in your app.

HTH,
Bill


Sandip