mirrorMargins = 1; // Use different Odd/Even headers and footers and mirror margins //$mpdf->defaultheaderfontsize = 10; /* in pts */ //$mpdf->defaultheaderfontstyle = B; /* blank, B, I, or BI */ //$mpdf->defaultheaderline = 10; /* 1 to include line below header/above footer */ $aux_encabezado_pdf = $_SESSION[encabezado_pdf]; $mpdf->SetHTMLHeader($aux_encabezado_pdf,''); /* $mpdf->SetHTMLFooter('
Página: {PAGENO}/{nbpg}
'); */ /* fin de encabezado*/ /*DECOMENTAR LAS LINEAS DE ABAJO CUANDO SE ENCUENTRE SOLUCION AL BOOTSTRAP*/ $stylesheet = file_get_contents('http://www.caerparana.org.ar/bootstrap/dist/css/bootstrap.min.css'); $stylesheet2 = file_get_contents('http://code.jquery.com/jquery.js'); $stylesheet3 = file_get_contents('http://www.caerparana.org.ar/bootstrap/dist/js/bootstrap.min.js'); $mpdf->WriteHTML($stylesheet,1); // The parameter 1 tells that this is css/style only and no body/html/text $mpdf->WriteHTML($stylesheet2,1); // The parameter 1 tells that this is css/style only and no body/html/text $mpdf->WriteHTML($stylesheet3,1); // The parameter 1 tells that this is css/style only and no body/html/text $html_esqueleto = ' Autoridades
'; $html_esqueleto2 = '
'; $html = $html_esqueleto.$html.$html_esqueleto2; $mpdf->WriteHTML(utf8_encode($html)); //$mpdf->WriteHTML($html); $mpdf->Output(); //echo $html; exit; } ?>