Anyone use FPDF?
I'm trying to create a new document in memory, starting with a
template document - I'm going to add some stuff to it. The template
document might be any size and dimensions. Here is the code I'm using,
and my problem is that the resulting document is always an 8.5x11
page. How do I get my new document to be the same dimensions as the
template doc?
$pdf= new fpdi();
$pagecount = $pdf->setSourceFile("templates/".$pdf_template_name);
$tplidx = $pdf->ImportPage(1);
$pdf->addPage('P');
$pdf->useTemplate($tplidx);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php