Welcome Guest, Not a member yet? Register   Sign In
dompdf header/footer
#1

[eluser]nosonoso[/eluser]
I am using dompdf to generate my PDF documents. Great class and want to advice using this plug-in! Though the support by CI is rather basic I didn't find any information about creating headers and footers in the PDF files itself.

At this moment it's just a stream of html.
Code:
$this->load->plugin('to_pdf');
     // page info here, db calls, etc.    
     $html = "<html> ETC .. </html>"
     pdf_create($html, 'filename');

maybe there is a sort of function to give my document a header title and a footer that will appear on each page?




Theme © iAndrew 2016 - Forum software by © MyBB