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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs