egroupware_official/phpgwapi/inc/fpdf/tutorial/tuto1.php

11 lines
185 B
PHP
Raw Normal View History

<?php
define('FPDF_FONTPATH','../font/');
require('../fpdf.php');
$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();
?>