fpdf error
Posted: Wed Jul 30, 2008 3:02 am
hi to all
I have a a two pages forms and i want to convert it in pdf so that the user have an option to print or save, I have any idea to do this and I search it in google. I found out fpdf and I tested the tutorial1 even I am not sure if it is the one I needed. Please see the error. I already copied the fpdf on the folder html2pdf. Please give me any idea or suggestion
thanks in advance
Warning: FPDF::include(helveticab.php) [function.FPDF-include]: failed to open stream: No such file or directory in C:\xampp\htdocs\infinity_other\html2pdf\fpdf.php on line 507
Warning: FPDF::include() [function.include]: Failed opening 'helveticab.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\infinity_other\html2pdf\fpdf.php on line 507
FPDF error: Could not include font metric file
I have a a two pages forms and i want to convert it in pdf so that the user have an option to print or save, I have any idea to do this and I search it in google. I found out fpdf and I tested the tutorial1 even I am not sure if it is the one I needed. Please see the error. I already copied the fpdf on the folder html2pdf. Please give me any idea or suggestion
thanks in advance
Warning: FPDF::include(helveticab.php) [function.FPDF-include]: failed to open stream: No such file or directory in C:\xampp\htdocs\infinity_other\html2pdf\fpdf.php on line 507
Warning: FPDF::include() [function.include]: Failed opening 'helveticab.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\infinity_other\html2pdf\fpdf.php on line 507
FPDF error: Could not include font metric file
Code: Select all
<?
require('html2pdf/fpdf.php');
$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();
?>