title: Failed to print PDF file with MPDF
body: <p>I want to export a report page into PDF file and I am using MPDF. I am following its tutorials step by step but I get blank page of PDF file. 
  in controller :</p>
  
  <pre><code>function download(){
      $this-&gt;load-&gt;library('m_pdf');
      $this-&gt;load-&gt;model('mod');
      $data['result'] = $this-&gt;mod-&gt;getReport();
      $html = $this-&gt;load-&gt;view('Laporan/index', $data);
      $this-&gt;m_pdf-&gt;pdf-&gt;WriteHTML($html);
      $this-&gt;m_pdf-&gt;pdf-&gt;Output('report.pdf', "D");    
  }
  </code></pre>
  
  <p>What's wrong with it? Why it is pringting a blank pdf file?</p>