2Fermer4
DrakonaLe 12/05/2010 à 16:43
J'ai tester ca avec tcpdf

<?php
require_once('../config/lang/eng.php');
require_once('../tcpdf.php');

// create new PDF document
$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false);
$pdf->SetFont('NewCicleFina', '', '16');
$pdf->AddPage();
$pdf->Cell(0, 12, 'Example', 1, 1, 'C');
$pdf->Output('example_001.pdf', 'I');
?>

Et ca fonctionne :/