SetMargins(2.5, 2, 2, true); $pdf->SetPrintHeader(false); $pdf->SetPrintFooter(false); $pdf->AddPage(); $pdf->SetFont('helvetica', '', 4); // $content = ' // // // // //

'.$libartc.'

'; $content = '

'.$libartc.'

'; //$pdf->Image($filename, 10, 10, 15, 15, 'PNG', '', '', true, 150, '', false, false, 1, false, false, false); //$pdf->SetXY(25, 10); //$pdf->Cell(50, 15, $libartc, 1, 0, 'L', 0, '', 0, true,'C', 'C'); $pdf->writeHTML($content, true, false, false, false, ''); $pdf->Output($codeartc.'.pdf', 'I');