Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

PDF::API2 can't read files created in Acrobat 9 ?

by jkd_dude (Initiate)
on Sep 16, 2008 at 12:49 UTC ( #711671=perlquestion: print w/replies, xml ) Need Help??
jkd_dude has asked for the wisdom of the Perl Monks concerning the following question:

Getting "Malformed xref in PDF file" when attempting to read *any* file created in the new Acrobat 9 Pro. Tried reading with PDF::API2 and CAM::PDF. No dice. Anyone else encountered this?
  • Comment on PDF::API2 can't read files created in Acrobat 9 ?

Replies are listed 'Best First'.
Re: PDF::API2 can't read files created in Acrobat 9 ?
by waba (Monk) on Sep 17, 2008 at 20:37 UTC

    Which PDF version is it? (first line the file). If you have control over the generated files, maybe you can save to an older version and work around the problem.

    Otherwise, try to get in touch with the author(s) of the module that does what you need (they're quite different) and see if they could update their code to support the new format.

      Was there a solution found on this? I am having the same problem with PDF version 1.3 based on the PDF file header: %PDF-1.3 Any help would be appreciated.
        I have the same problem. Files created in acrobat 9 get the "malformed xref" error. Anyone interested in solving this? I'll kick in for some hours.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://711671]
Approved by Corion
and cookies bake in the oven...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2018-06-22 06:21 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (121 votes). Check out past polls.