print function separated from the savePdf
mpdf extension + yii pdf added