QUESTO E' IL CODICE :

<?

define('FPDF_FONTPATH','fpdf/font/');
//questo file e la cartella font si trovano nella stessa directory
require('fpdf/fpdf.php');

$p = new fpdf();
$p->Open();
$p->AddPage();

$p->SetTextColor(0); // Con queste due funzioni imposto il carattere
$p->SetFont('Arial', '', 9);

$p->MultiCell(0, 5, 'Testo con ' . "\n" . 'MultiCell()', 0, 'center');
$p->Cell(0, 5, 'Testo con Cell()');
$p->Write(5, 'Testo con Write()');
$p->Text(5, 10, 'Testo con Text()');

$p->output();

?>


IL MIO OUTPUT:

%PDF-1.3 3 0 obj <> endobj 4 0 obj <> stream x1 0ཿvy5IWEAxMџop3Hq<>ƦPdB0[3R rJ+T gN3q49 9p#O{~ #!v0 mVY2'L0A;xdMF%|(K endstream endobj 1 0 obj <> endobj 5 0 obj <> endobj 2 0 obj <> >> endobj 6 0 obj << /Producer (FPDF 1.51) /CreationDate (D:20041129163029) >> endobj 7 0 obj << /Type /Catalog /Pages 1 0 R /OpenAction [3 0 R /FitH null] /PageLayout /OneColumn >> endobj xref 0 8 0000000000 65535 f 0000000302 00000 n 0000000485 00000 n 0000000009 00000 n 0000000087 00000 n 0000000389 00000 n 0000000573 00000 n 0000000649 00000 n trailer << /Size 8 /Root 7 0 R /Info 6 0 R >> startxref 752 %%EOF


COS'E' STA ROBA?