title: Codeigniter View to PDF
body: <p>I have used DOMpdf, mpdf, tcpdf and is not succeeded with the output.</p>
  
  <p>I am putting here everything I have tried, including HTML. </p>
  
  <p><em><strong>OUTPUT PREVIEW :</em></strong> </p>
  
  <p>Direct View File: <a href="http://jsfiddle.net/QdhdW/" rel="nofollow">http://jsfiddle.net/QdhdW/</a></p>
  
  <p>DOMpdf and mPDF Output: <a href="https://www.box.com/s/f7cb2283d196db530702" rel="nofollow">https://www.box.com/s/f7cb2283d196db530702</a></p>
  
  <p><em><strong>ISSUES</em></strong> : </p>
  
  <p><em>DOM pdf :</em> </p>
  
  <ul>
  <li>Bad looking CSS (and not exact as per required) </li>
  <li>leaves 6-7 page</li>
  <li>brakes in pdf  the records are out of page then doesn't come to next page</li>
  </ul>
  
  <p><em>mPDF :</em> </p>
  
  <ul>
  <li>makes output as small as possible, so that all records are covered in one page. (doesn't good as it is for A4 Page)</li>
  <li>The Borders between each rows. (in HTML there is no borders between the rows.)</li>
  </ul>
  
  <blockquote>
    <p>I don't mind using any pdf generator library and even if we change CSS
    or make CSS inline, doesn't matter. The thing is I am seeking the PDF
    output same as displayed in view File.</p>
    
    <p>Please Help me, to figure it out. Struggling since yesterday.</p>
  </blockquote>