如何在FPDF生成的每页上打印标题


How to Print Title on Every Page generated By FPDF

我使用FPDF从数据库生成报告,我希望报告的标题打印在生成的PDF的标题上

我的代码是这样的
function Header()
{
$name="Export PDF";
$this->SetFont('Arial','B',15);
$this->Image('images/pdflogo.png', 5,5,60);
$this->Image('images/hr1.jpg', 10,25,190);
$this->Text(100,25,'$d');
$this->Cell(80);
$this->SetFont('Arial','B',9);
$this->Ln(20);
}
?> 
有谁能告诉我怎么做吗?

使用:$this->Cell(80, 10, 'Example Report Title' );

它将在每个页头显示示例报告标题