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;

posted @ 2010-11-17 22:57  春哥也编程  阅读(239)  评论(0编辑  收藏  举报