title: In mpdf to Output a pdf file to a Browser
body: <p>I am trying to view the pdf file created using mpdf.
  On using the command as </p>
  
  <pre><code>$pdf = $mpdf-&gt;Output('mep.pdf','I');
  </code></pre>
  
  <p>the pdf gets downloaded rather.
  Although, I: send the file inline to the browser. The plug-in is used if available. The name given by filename is used when one selects the "Save as" option on the link generating the PDF.</p>
  
  <p>I would like to view the pdf in the browser and depending on the user choice to download it, print it or just view it and exit.</p>
  
  <p>Kindly help. Thanks.</p>