Support » Plugin: Send PDF for Contact Form 7 » Margin fields not working

  • Hello Florent,

    Setting the margin header and margin top values in the settings tab of a form don’t seem to take effect.

    I believe the fix is in the send-pdf.php file. Change line 638 to the following:

    $mpdf = new \Mpdf\Mpdf([‘mode’ => ‘utf-8’, ‘format’ => $formatPdf, ‘margin_header’ => $meta_values[‘margin_header’], ‘margin_top’ => $meta_values[‘margin_top’],]);

    That seems to work for me.

  • You must be logged in to reply to this topic.