Hi, i have a table inside Prawn file like grandtotal=@sql_query.size total=[""],[""] pdf.table total, :width => 768, :headers => ["Grand Total : #{grandtotal} "], :header_color => ''e5e5e5'', :border_style => :underline_header there are other data above them. what happens is, when the grandtotal prints on the last line of a page,(in some cases only), they are printing it twice ..like, on the last line on page 1 and first line of page 2. Is it any property of pdf.table to print it on the next line ALSO, if there is not much space on the previous page? please advice ~Jeff -- Posted via http://www.ruby-forum.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.