zend generate pdf

for example:

http://www.phpchina.com/resource/manual/zendframework/zend.pdf.save.html

this url show how to update or save you pdf document

you have to ways:

1、save the pagesTest.pdf document to you running file realpath,this would not be notify you.

$saveUri = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'pagesTest.pdf';

$pdf->save($saveUri);

2、this will show you the pdf you generated.

$pdfString = $pdf->render();
echo $pdfString;

你可能感兴趣的:(Zend)