EIOS/inc/fpdf/tutorial/tuto1.php

10 lines
151 B
PHP

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