• alpeshkumar.mca

    (@alpeshkumarmca)


    Hi,

    Thanks for create plugin.

    but i have one question that how to set header and footer in pdf.

Viewing 1 replies (of 1 total)
  • Hi, plugin use mpdf. So, open file /classes/send-pdf.php and scroll to row 319. You will see somthing like:

    $mpdf->WriteHTML($text);

    Now you can set header and footer. Like this:

    $mpdf->SetHTMLHeader('<img src="path/to/image.jpg">');
    $mpdf->SetHTMLFooter('<div>my HTML content</div>');

    P.S.: plugin work very well ??

Viewing 1 replies (of 1 total)
  • The topic ‘how to set header and footer’ is closed to new replies.