Hola estoy usando la clase html2fpdf y tengo un problema cuando quiero usar alguna etiqueta html adentro del body, por ejemplo <h1>
o <table> me tira un error,
Fatal error: Call to undefined method HTML2FPDF::SetDash() in C:\AppServ\www\altos2\classes\html2fpdf.php on line 1724
siempre me tira un error distinto pero nunca puedo hacer que funcione ecepto cuando saco todas la etiquetas html, cual puede ser el problema?, gracias
$html = '
<html>
<head>
</head>
<body>
<h1>Hola mundo</h1>
</body>
</html>';
$pdf = new HTML2FPDF();
$pdf->AddPage();
$pdf->WriteHTML($html);
$pdf->Output('doc.pdf','D');