Gostaria de usar o TCPDF na aplicacao BLANK.
Coloquei a pasta tcpdf dentro de prod/third, necessito criar diversos relatorios com blank.
coloquei os arquivos de configuracao dentro _lib da aplicacao.
eu iniciei a minha aplicacao assim:
sc_include_lib(‘tcpdf’);
require_once(’…/_lib/tcpdf_include.php’);
// create new PDF document
$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, ‘UTF-8’, false);
// set document information
$pdf->SetCreator(PDF_CREATOR);
$pdf->SetAuthor(‘Nicola Asuni’);
$pdf->SetTitle(‘TCPDF Example 002’);
$pdf->SetSubject(‘TCPDF Tutorial’);
$pdf->SetKeywords(‘TCPDF, PDF, example, test, guide’);
// remove default header/footer
$pdf->setPrintHeader(false);
$pdf->setPrintFooter(false);
// set default monospaced font
$pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED);
// set margins
$pdf->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT);
// set auto page breaks
$pdf->SetAutoPageBreak(TRUE, PDF_MARGIN_BOTTOM);
// set image scale factor
$pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
// ---------------------------------------------------------
// set font
$pdf->SetFont(‘dejavusans’, ‘’, 8 );
// add a page
$pdf->AddPage();
[size=24pt][font=arial black]porem esta dando o seguinte erro: Fatal error: Class ‘TCPDF’ not found in
alguem sabe como resolver isto ?[/font][/size]