Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] PDF header signature not found

Paulo Soares

2007-06-15

Replies:

I don't have any more suggestions.

Paulo

----- Original Message -----
From: "peter_budo" <peter_budo@(protected)>
To: <itext-questions@(protected)>
Sent: Friday, June 15, 2007 5:36 PM
Subject: Re: [iText-questions] PDF header signature not found


>
> I did small program to read that pdf document and save it as new
> document.
> Then I tried to run the code which I send it to you, but I got same error
> message.
> The copy looks same as original to me, I do not see any difference. So
> what
> now?
>
> Paulo Soares wrote:
>>
>> This is some environment related problem you have. Open the file with
>> RandomAccessFileOrArray and save it to other file using FileOutputStream.
>> Look at what you get.
>>
>>
>> Paulo
>>
>> ----- Original Message -----
>> From: "peter_budo" <peter_budo@(protected)>
>> To: <itext-questions@(protected)>
>> Sent: Wednesday, June 13, 2007 10:33 AM
>> Subject: Re: [iText-questions] PDF header signature not found
>>
>>
>>>
>>> I made copy of the file from which I try to read the link details and I
>>> opened it with my Java IDE and also with WinHex, but I do not see
>>> anything
>>> before "%PDF-1." marker. Base on this I do not think there is any
>>> garbadge
>>> on the start. Or am I mistaken?
>>>
>>>
>>> Paulo Soares wrote:
>>>>
>>>> You must remove the garbage from the file up to the "%PDF-1." marker.
>>>> That's
>>>> before using iText.
>>>>
>>>> Paulo


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.