From: Jeffrey Bonson on 4 Aug 2010 06:08 Is there a simpler code to set the Headers and Footers on all N pages in a PDF file that is generated by PRAWN Plugin. the codes are to be written in a "report.pdf.prawn" file, which is a direct coding area of the PDF view page The below are the codes in the file report.pdf.prawn pdf.text "Creation Date " + Time.now.strftime('%d-%m-%Y') pdf.text "Page Count:#{pdf.page_count}" All i want is to position tes values to header's or/and footers left and right side. Any suggestion would be helpful. Thanks -- Posted via http://www.ruby-forum.com/.
|
Pages: 1 Prev: Regarding win 32 screenshot Next: Rails3 Engines (mountable apps) |