Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter benrosati

    (@benrosati)

    This is not the most user-friendly approach, but I found a fix for my case.

    In the root plugin folder, open wp-mpdf.php

    Replace line 158 with:
    $mpdf=new mPDF('utf-8', array(279.4,215.9), 0, 0, 0, 0, 0, 0);

    Plugin Author fkrauthan

    (@fkrauthan)

    Hey, please be aware that your change is gonna get overwritten as soon as there is a new release.

    If you wanna have a configuration option for that please create a ticket here: https://github.com/fkrauthan/wp-mpdf

    Or create a configurable solution and submit a pull request.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change to landscape mode’ is closed to new replies.