Works for me with: PdfReader pdf = new PdfReader("c:\\Index-2pg.pdf");
Paulo ----- Original Message ----- From: "Peter Miklosko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 13, 2007 11:21 AM Subject: Re: [iText-questions] PDF header signature not found > Hi Paulo > > in attachment you will find one of the "trouble making" PDF documents. > > Thank you > > Peter > > > ----- Original Message ---- > From: Paulo Soares <[EMAIL PROTECTED]> > To: Post all your questions about iText here > <itext-questions@lists.sourceforge.net> > Sent: Wednesday, June 13, 2007 11:03:48 AM > Subject: Re: [iText-questions] PDF header signature not found > > I'll have to look at the PDF. > > Paulo > > ----- Original Message ----- > From: "peter_budo" <[EMAIL PROTECTED]> > To: <itext-questions@lists.sourceforge.net> > 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/