pdf-l4
pdf-l4 copied to clipboard
How to add header & footer
Hi, how to add header and footer in every single page? How to add number page too?
Thanks
Hi.
You can check these links : http://ibmphp.blogspot.fr/2012/11/dompdf-every-page-with-header-and-footer.html http://www.digitaljunkies.ca/dompdf/faq.php#footers
I saw the 2 links that you have. But I can not get it to work. In my controller i have a function like this.
public function getPdf(){
$html = View::make('waste_handling_form.pdf'); $pdf = PDF::load($html,'A4','protrait'); return $pdf->show();
}
And in my view I have regular html code and I am extending a blade layout. Where should i get the page number?
Thanks,