PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
From: "Campbell, Christopher" <[EMAIL PROTECTED]>
We use a third-party component called PDFLib to create PDF's
Your primary address for PDFlib-related questions should always be [EMAIL PROTECTED] We have a good reputation for providing quick and competent support even for customers without a support contract...
programmatically. It has a PDF import feature that allows us to import multiple PDF files and merge them into one output document. I am trying to use it to import a particular set of PDF's that were generated by another utility (iConvert) and I am getting a "PDF Format Error" at offset
Offset 0 sounds like there is not a problem within the PDF, but rather in accessing it, or a general programming issue. For example, a PDF will be rejected if you try to import a higher PDF version than you are currently generating. Setting the "pdiwarning" parameter or option to true will provide more details regarding the rejected file in most cases.
Did you check with the latest PDFlib+PDI maintenance release? We have a policy of implementing workarounds for known problems as we get problematic files from customers.
0x00000000. The PDF in question can be opened with Acrobat no problem. The PDF import feature has always worked with no problem for us on other PDF's.
Remember that Acrobat silently repairs certain kinds of damaged PDFs. While we try to repair some kinds of problematic files, we do not attempt to fix all problems (e.g. broken xref) for performance reasons. As a test you can try to re-write the file with Acrobat and import it again. If it works, the original file was flawed and Acrobat fixed the problem.
Does anyone know of a syntax checking utility for PDF? Is there a way I can find out what exactly is causing the error?
Feel free to send a sample file to our support for further analysis. We will tell you the reason why the file couldn't be imported, and in many cases can point out known flaws in other PDF-generating software, sometimes even with workarounds. In some cases we can add another workaround for damaged PDFs to our import module, but that's not possible in all cases.
Thomas
_______________________________________________________________ Thomas Merz [EMAIL PROTECTED] http://www.pdflib.com Personalize PDF: PDFlib Personalization Server and Block plugin _______PDFlib - a library for generating PDF on the fly________
To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
