FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs. click to download
This is the class constructor. It allows to set up the page size, the orientation and the unit of measure.
Default value is P. other Values are
Default value is mm. font sizes are expressed in that unit. Other Values are
Default value is A4. Other Values are
<?php require_once "fpdf/fpdf.php"; //fpdf supporting file //Page Creation (Default value is P; Default value is mm; default page size: A4) #$pdf = new FPDF(); //or $pdf = new FPDF('P','mm','A4'); $pdf -> Output(); // Display output ?>View Demo
Default value is A4. Other Values are
<?php require_once "fpdf/fpdf.php"; //fpdf supporting file //Page Creation (Default value is P;Default value is mm;default page size: A4) #$pdf = new FPDF(); //or $pdf = new FPDF('P','mm',array(100,150)); $pdf -> Output(); // Display output ?>View Demo
Learn All in Tamil © Designed & Developed By Tutor Joes | Privacy Policy | Terms & Conditions