Tag Archives: YII HTML TO PDF

HTML Elements To PDF

This tutorial will help you to convert the HTML element in a page to pdf document. I created this tutorial with help of mPrint extension from yiiframework. Features Apply Css Select HTML Elements to print Hide HTML Elements from print <?php $this->widget(‘ext.mPrint.mPrint’, array( //the title of the document. Defaults to the HTML title ‘title’ => ‘HTML Element […]

HTML TO PDF

This post will help you generate a pdf files in yii framework. I used tcpdf to create a pdf file. Pdf file based on html page. What you see in html page, You can download as pdf using this. Download TCPDF Create HTML2PDF Extension Controller: HtmltopdfController.php View: html2pdf.php View: htmlpage.php Download TCPDF Download the tcpdf […]