Uploaded file(WebContents.pdf) is a pdf file under 1.7 version which was
created through TCPDF
(http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf) library.
When I use Zend_Pdf::load($fileName) to load this pdf file into Zend_Pdf, I
got following errors:
 
Fatal error: Uncaught exception 'Zend_Pdf_Exception' with message
'Unsupported PDF version. Zend_Pdf supports PDF 1.0-1.4. Current version -
'1.700000'' in /var/www/ZendFramework-1.7.7/library/Zend/Pdf/Parser.php:409
Stack trace: #0 /var/www/ZendFramework-1.7.7/library/Zend/Pdf.php(297):
Zend_Pdf_Parser->__construct('../WebContents....',
Object(Zend_Pdf_ElementFactory_Proxy), true) #1
/var/www/ZendFramework-1.7.7/library/Zend/Pdf.php(250):
Zend_Pdf->__construct('../WebContents....', NULL, true) #2
/home/liaok/liaok/public_html/neon/InfReqFor/pdf/CreatePdfView.php(33):
Zend_Pdf::load('../WebContents....') #3 {main} thrown in
/var/www/ZendFramework-1.7.7/library/Zend/Pdf/Parser.php on line 409

 





vince. wrote:
> 
> Hey,
> 
> From what you can understand in the manual the component supports PDF
> files
> v 1.4 and up. So i think it should support 1.6 & 1.7.
> 
> What's the problem your having?
> 
> Vince.
> 
> On Tue, Apr 28, 2009 at 4:12 PM, Kexiao Liao <li...@ccf.org> wrote:
> 
>>
>> What is the PDF file format version Zend_PDF support right now? I have
>> several PDF files under  version 1.6 and version 1.7,  It seems Zend_PDF
>> does not support these kinds of pdf file version.
>> Can anyone give some detail information about the PDF file version which
>> Zend_PDF supports. Thanks in advance.
>>
>> Kevin
>>
>> --
>> View this message in context:
>> http://www.nabble.com/%3Ch1%3EZend_PDF-support-which-PDF-Version%3Ch1%3E-tp23276895p23276895.html
>> Sent from the Zend Framework mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Vincent Gabriel.
> Lead Developer, Senior Support.
> Zend Certified Engineer.
> Zend Framework Certified Engineer.
> -- http://www.vadimg.co.il/
> 
> 
http://www.nabble.com/file/p23277283/WebContents.pdf WebContents.pdf 
-- 
View this message in context: 
http://www.nabble.com/%3Ch1%3EZend_PDF-support-which-PDF-Version%3Ch1%3E-tp23276895p23277283.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to