define('FPDF_FONTPATH','../../font/');
require('fpdf.php');
class PDF extends FPDF { function PDF($orientation='L',$unit='mm',$format='A4') { include 'function/function_Pdf.inc.php'; } }
$pdf=new PDF();
$pdf->SetDrawColor(220,210,100);
$pdf->SetFillColor(220,210,100);
$pdf->SetMargins(2,22,2);
$pdf->SetFont('Arial','B',15);
$pdf->AddPage();
$pdf->Cell(20,10,'Pagina1',1,1,'C');
$pdf->AddPage();
$pdf->Cell(20,10,'Pagina2',1,1,'C');
$pdf->AddPage();
$pdf->Cell(20,10,'Pagina3',1,1,'C');
$pdf->Output();