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

Hi Adrien,

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

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.