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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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 Coquio 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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 On Jan 4, 9:23 pm, bill walton <bwalton...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi Adrien, > > On Mon, 2010-01-04 at 15:54 -0800, Adrien Coquio 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi You can also do this using acts_as_reportable gem but prawn is always best for complicated pdfs. On 1/5/10, Adrien Coquio <adrien.coquio-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Thanks for your answer ! > I will search some informations about prawn. > > adrien > > On Jan 4, 9:23 pm, bill walton <bwalton...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> Hi Adrien, >> >> On Mon, 2010-01-04 at 15:54 -0800, Adrien Coquio 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 >-- Sandip --- www.funonrails.com -- 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 rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.