in reply to Unexpected file version error from PDF::API2
The module PDF::API2 dies instead of indicating the failure.It dies with an indication of failure. The reason is this:
not a PDF file version 1.xIt would appear as if the file isn't corrupt, but just too new a version of PDF file format. This seems extremely odd to me, as I thought even Acrobat 5 only produces PDF 1.4 files. This just can't be right.
eval BLOCK is indeed the best general mechanism to trap this.
As for the cause... what is this htmldoc you were talking about? I suspect a problem with binary vs. text mode, but that's just a guess.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Unexpected file version error from PDF::API2
by artist (Parson) on May 11, 2004 at 19:33 UTC |