<?php 
require_once("dompdf-0.6.2/dompdf_config.inc.php");
	
$codigoHtml='<html>
<head>
<meta charset="utf-8">
<title>Atenciones</title>
<style>
	body{font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";}
	.tabla{border: 0px solid #000000;background-color: #FFFFFF;}
	.tds {
		border-left: 1px solid #000000;
		border-right: 0px solid #000000;
		font-size:11px;
		padding-left: 8px;
		padding-right: 6px;
		padding-top: 6px;
		padding-bottom: 6px;
	}
	.su{
		border-top: 1px solid #000000;
		border-bottom: 1px solid #000000;
	}
	.fn{
		border-right: 1px solid #000000;
	}
</style>
</head>

<body>';
$codigoHtml.='<h1>Hola a todos</h1></tbody>
</table>
</center>
</body>
</html>';

$en = "Asistencias_sac_yyyy.pdf";
$codigoHtml=utf8_decode($codigoHtml);
$domPdf=new DOMPDF();
$domPdf->load_html($codigoHtml);
$domPdf->set_paper('a4','landscape');
ini_set("memory_limit","128M");
$domPdf->render();
$domPdf->stream($en);
?>






