We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Category:Contributions::Applications::TCPDF Category:Contributions::Libraries::Files Category:Contributions::Libraries::PDF Category:Libraries::Community
application/3rdparty
application/3rdparty/tcpdf/...
application/config/tcpdf.php application/libraries/pdf.php
Configure the tcpdf.php config file as needed
Test controller:
class pdf_test extends Controller { function pdf_test() { parent::Controller(); } function tcpdf() { $this->load->library('pdf'); // set document information $this->pdf->SetSubject('TCPDF Tutorial'); $this->pdf->SetKeywords('TCPDF, PDF, example, test, guide'); // set font $this->pdf->SetFont('times', 'BI', 16); // add a page $this->pdf->AddPage(); // print a line using Cell() $this->pdf->Cell(0, 12, 'Example 001 - €à èéìòù', 1, 1, 'C'); //Close and output PDF document $this->pdf->Output('example_001.pdf', 'I'); } }