title: How to set landscape orientation using HTML2PDF
body: <p>How to change the page orientation of pdf file generated via HTML2PDF to landscape...?
  By default, it is opening as Portrait format. I have changed it in html2pdf.class, but nothing changed.Please help me..</p>
  
  <p>This is the php code:</p>
  
  <pre><code> require('../../includes/html2pdf/html2fpdf.php');
      $pdf=new HTML2FPDF('L','mm','A3');
      $pdf-&gt;AddPage();
      $pdf-&gt;setFont("arial",'',8);
      $pdf-&gt;WriteHTML($data);
      $pdf-&gt;Output("outstanding.pdf","I");
  </code></pre>