\documentclass{article}
\usepackage{ulem}
\pagestyle{headings}
\begin{document}
\part{File\_PDF}
\begin{verbatim}


require_once 'File/PDF.php';

$p = &File_PDF::factory('P', 'mm', 'A4');

$p->setinfo('title', 'FOOOODOOOO');
$p->setinfo('subject', 'The Subject field :-)');
$p->setinfo('creator', 'Not mine');

$p->open();
$p->setMargins(50, 50);
$p->addPage('P');
$p->setFont('arial', '', 15);
$p->write(10, 'This is some text\n');
$p->write(10, 'And this is some more text\n***\n');

$p->text(10, 20, 'Hello');
$p->close();
// $p->save('foo.pdf');
$p->output('foo.pdf', 'true');
\end{verbatim}

\end{document}
