HI,
I'm trying to use HTML2PDF and after install and run the the convertion I'm getting this error:
ERROR: TCPDF ERROR: Could not include font definition file: consolas
I just include the example04.php into my php program and run. The code that I'm using are:
// récupération du contenu HTML
ob_start();
include(dirname(__FILE__).'/ArqComunicado.html');
$content = ob_get_clean();
// conversion HTML => PDF ArqComunicado.html
require_once(dirname(__FILE__).'/html2pdf/html2pdf.class.php');
try
{
$html2pdf = new HTML2PDF('P','A4', 'fr', false, 'ISO-8859-15', 5);
$html2pdf->pdf->SetDisplayMode('fullpage');
$html2pdf->writeHTML($content, isset($_GET['vuehtml']));
$html2pdf->Output('exemple04.pdf');
}
catch(HTML2PDF_exception $e) { echo $e; }
I'm using Word2010, saving the file as "WebPage filtred" option.
The link are:
http://www.imoveisplus.com.br/comunicado
The options are: 01. "Gera comunicado para o síndico"
02. "Identificação: 111"
Best regards and thanks for any help that you could give me,
Ronaldo
(ronaldol@cybernet.com.br)