Thursday, January 16, 2014

[Rails] How to start new pages automatically whenever the text string cannot fit on the current page in praw

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.

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/1e4e2141-90c1-4e17-ae32-c93406c4d66b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate