title: How to set the page in landscape mode in mpdf?
body: <p>I am using <code>mpdf</code> library in PHP to create a pdf file from HTML. I need to set the page mode in <code>landscape</code> mode. </p>
  
  <p>Here is the code I am using :</p>
  
  <pre><code>$mpdf=new mPDF('c'); 
  
  $mpdf-&gt;WriteHTML($html);
  $mpdf-&gt;Output();
  exit;
  </code></pre>
  
  <p>However, this is setting the page mode in <code>portrait</code> mode. Any idea, how to set the landscape mode in mpdf ?</p>