From: Jeffrey Bonson on

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
The below are the codes in the file report.pdf.prawn

pdf.text "Creation Date " +'%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