On 2014-Jan-16, at 04:45 , DHEERAJ CHILAPPAGARI <[email protected]> 
wrote:

> I am trying to generate a PDF invoice using prawn with header, body and 
> footer. The content of the body may change. I'm using bounding_box to place 
> content in the body. If the content cannot fit on the current page body, it 
> should automatically place the remaining content in body portion of the new 
> page. Please help me with the coding.

This is the default behavior of Prawn. You should find an example of exactly 
this in the manual.
http://prawn.majesticseacreature.com/manual.pdf

-Rob

Rob Biedenharn
[email protected]


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/A8ABB2B1-4253-489E-A55C-093913B4D8E6%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to