source:
trunk/phpgwapi/inc/fpdf/tutorial/tuto1.php
@
2
Revision 2, 185 bytes checked in by niltonneto, 18 years ago (diff) | |
---|---|
|
Rev | Line | |
---|---|---|
[2] | 1 | <?php |
2 | define('FPDF_FONTPATH','../font/'); | |
3 | require('../fpdf.php'); | |
4 | ||
5 | $pdf=new FPDF(); | |
6 | $pdf->AddPage(); | |
7 | $pdf->SetFont('Arial','B',16); | |
8 | $pdf->Cell(40,10,'Hello World!'); | |
9 | $pdf->Output(); | |
10 | ?> |
Note: See TracBrowser
for help on using the repository browser.