Preflight is part of the Professional version of Acrobat, not Standard - sorry.

Yes, you can use Preflight to get a list of many (though not all) errors in a 
PDF using the "Report Syntax Errors" check.

Leonard

From: hideki tihiri [mailto:[email protected]]
Sent: Wednesday, December 31, 2008 8:55 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Reader error reporting

Hi,

thanks for the update. We have Adobe 8 Standard but I cannot find that 
'Preflight' option apparently.

Do I have wrong version ?

Will the 'Preflight' option give me a list of all things wrong in a PDF 
document ?

Or are there any other tools available that do the same job ?

Thx,

HT.




On Wed, Dec 31, 2008 at 2:28 PM, Leonard Rosenthol 
<[email protected]<mailto:[email protected]>> wrote:
It's one of those tricky problems, especially when your software is installed 
on >90% of all computers in the world...

How do you tell someone that they have a problem BUT then not offer them any 
way to fix it ESPECIALLY when it's most likely not their fault in the first 
place (it's just some PDF they downloaded from a web site)?

We've introduced this sort of thing, a bit at a time, into Acrobat via the 
Preflight functionality.  So that a user that actually WANTS TO KNOW can get 
information about the quality (or lack thereof) of a given PDF...

Leonard

-----Original Message-----
From: Michael Klink 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, December 30, 2008 3:28 PM
To: 
[email protected]<mailto:[email protected]>
Subject: [iText-questions] (no subject)

Hi!

I extracted that first signed revision now. Unfortunately the Reader here once 
more is quite lax when confronted with broken PDF documents. IMHO it should at 
least tell the user that the PDF is broken...

Regards,   Mikel.

-----Ursprüngliche Nachricht-----
Von: Michael Klink 
[mailto:[email protected]<mailto:[email protected]>]
Gesendet: Dienstag, 30. Dezember 2008 20:49
An: 
[email protected]<mailto:[email protected]>
Betreff: Re: [iText-questions] itext invalidates first signature. Why ?

Hi HT,

I looked at your PDF; Acrobat and the Reader are right, the signature byte 
range _is_ invalid. It is invalid in the sense that the part of the PDF file 
from the beginning of the file until the end of the last byte range is not a 
proper PDF file and therefore not a valid document revision to be signed.

Look at it, you'll find that it's actually the signature dictionary (5 0 obj) 
itself which is located at an invalid position betwenn the trailer dictionary 
and the startxref making this revision invalid.

>>>>>>>>>>>>>>>
trailer
 <<
/Root 19 0 R
/ID [<9d9bc8f4766bc3c0cabfe0a7409eb782><9d9bc8f4766bc3c0cabfe0a7409eb782> ] 
/Info 20 0 R /Size 22
>>
5 0 obj
 <<
[...]
>>
endobj
startxref
000000003615
%%EOF

31 0 obj
<<<<<<<<<<<<<<<

Thus you simply have to repair the software that creates the first signature.

Best regards,   Michael.

-----Ursprüngliche Nachricht-----
Von: HidekiT [mailto:[email protected]<mailto:[email protected]>]
Gesendet: Dienstag, 30. Dezember 2008 15:33
An: 
[email protected]<mailto:[email protected]>
Betreff: Re: [iText-questions] itext invalidates first signature. Why ?


Hi All,

if someone could give us some advice we would be very gratefull.

We really don't see the solution to this problem.

If someone could look at the pdf attached and try to find out what goes
wrong ?

We really checked all code many times but now we are desparate.

(Open the doc and click on the grey signature to see the errormessage). The
byteranges are OK so it must be something else...

Thanks so much already ...

HT



HidekiT wrote:
>
> Hi,
>
> we get signed PDF documents made with 3rd party software we need to add
> additional signature with iText.
>
> Problem is that the 1st signature gets invalid when 2nd is added. The
> error is:
>
> Error during signature verification.
> Unexpected byte range values defining scope of signed data.
> Details: The signature byte range is invalid
>
> We don't understand why this happens ? When we open the original document
> (with only 1st signature) no error is given so why is this invalidated
> with iText when new signature is added ?
>
> I attach the file with the 2 signatures (only 10 kb) so if someone can
> tell us what the problem is we might solve it.
>
> Any help much appreciated.

>  http://www.nabble.com/file/p21191679/Example_invalid-first-signature.pdf
> Example_invalid-first-signature.pdf

http://www.nabble.com/file/p21217894/Example_invalid-first-signature.pdf
Example_invalid-first-signature.pdf

--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to