Attachment 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

 
Kevin
 

________________________________

From: Vadim Gabriel [mailto:vadim...@gmail.com] 
Sent: Tuesday, April 28, 2009 09:17
To: Liao, Kexiao
Cc: fw-general@lists.zend.com
Subject: Re: [fw-general] <h1>Zend_PDF support which PDF Version<h1>


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/





===================================

P Please consider the environment before printing this e-mail

Cleveland Clinic is ranked one of the top hospitals
in America by U.S. News & World Report (2008).  
Visit us online at http://www.clevelandclinic.org for
a complete listing of our services, staff and
locations.


Confidentiality Note:  This message is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged,
confidential, and exempt from disclosure under applicable
law.  If the reader of this message is not the intended
recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited.  If
you have received this communication in error,  please
contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy.  Thank you.

Attachment: WebContents.pdf
Description: WebContents.pdf

Reply via email to