"trailer not found."

View: New views
13 Messages — Rating Filter:   Alert me  

"trailer not found."

by Dean Krueger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 I have some PDF's created by a customer, using Distiller 9 on
windows. When I try to open a PdfReader, I get an exception "trailer
not found.", Stack Trace is :
iTextSharp.text.pdf.PdfReader.RebuildXref()
at iTextSharp.text.pdf.PdfReader.ReadPdf()
at iTextSharp.text.pdf.PdfReader..ctor(String filename, Byte[] ownerPassword)
at iTextSharp.text.pdf.PdfReader..ctor(String filename)

The PDF's are 1.6 and they are Linearized.

Anybody have any idea's why I get this exception. These files open
fine in Acrobat and Apple's Preview.app with no errors.

I can supply the files if someone wants to have a look.

Thanks
Dean Krueger

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: "trailer not found."

by Paulo Soares-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Looks like the files are truncated. If the files are linearized Acrobat won't look for the trailer as all the information it requires is in the linerization tables.

Paulo

> -----Original Message-----
> From: Dean Krueger [mailto:dmkrueger@...]
> Sent: Thursday, July 02, 2009 3:00 PM
> To: iText-questions@...
> Subject: [iText-questions] "trailer not found."
>
> Hi,
>  I have some PDF's created by a customer, using Distiller 9 on
> windows. When I try to open a PdfReader, I get an exception "trailer
> not found.", Stack Trace is :
> iTextSharp.text.pdf.PdfReader.RebuildXref()
> at iTextSharp.text.pdf.PdfReader.ReadPdf()
> at iTextSharp.text.pdf.PdfReader..ctor(String filename,
> Byte[] ownerPassword)
> at iTextSharp.text.pdf.PdfReader..ctor(String filename)
>
> The PDF's are 1.6 and they are Linearized.
>
> Anybody have any idea's why I get this exception. These files open
> fine in Acrobat and Apple's Preview.app with no errors.
>
> I can supply the files if someone wants to have a look.
>
> Thanks
> Dean Krueger

Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.



------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: "trailer not found."

by Dean Krueger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does that mean, iText doesn't support this type of PDF?
I thought it couldn't write linearized file but could read them.

Thanks
Dean

On Thu, Jul 2, 2009 at 10:43 AM, Paulo Soares<psoares@...> wrote:

> Looks like the files are truncated. If the files are linearized Acrobat won't look for the trailer as all the information it requires is in the linerization tables.
>
> Paulo
>
>> -----Original Message-----
>> From: Dean Krueger [mailto:dmkrueger@...]
>> Sent: Thursday, July 02, 2009 3:00 PM
>> To: iText-questions@...
>> Subject: [iText-questions] "trailer not found."
>>
>> Hi,
>>  I have some PDF's created by a customer, using Distiller 9 on
>> windows. When I try to open a PdfReader, I get an exception "trailer
>> not found.", Stack Trace is :
>> iTextSharp.text.pdf.PdfReader.RebuildXref()
>> at iTextSharp.text.pdf.PdfReader.ReadPdf()
>> at iTextSharp.text.pdf.PdfReader..ctor(String filename,
>> Byte[] ownerPassword)
>> at iTextSharp.text.pdf.PdfReader..ctor(String filename)
>>
>> The PDF's are 1.6 and they are Linearized.
>>
>> Anybody have any idea's why I get this exception. These files open
>> fine in Acrobat and Apple's Preview.app with no errors.
>>
>> I can supply the files if someone wants to have a look.
>>
>> Thanks
>> Dean Krueger
>
>
> Aviso Legal:
> Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.
>
> Disclaimer:
> This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> iText-questions mailing list
> iText-questions@...
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
> You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
>

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: "trailer not found."

by Paulo Soares-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It can read but the PDF must have the trailer and not have more than 1k of garbage after it. It's better to look at one of those PDFs.

Paulo

> -----Original Message-----
> From: Dean Krueger [mailto:dmkrueger@...]
> Sent: Thursday, July 02, 2009 4:04 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] "trailer not found."
>
> Does that mean, iText doesn't support this type of PDF?
> I thought it couldn't write linearized file but could read them.
>
> Thanks
> Dean
>
> On Thu, Jul 2, 2009 at 10:43 AM, Paulo
> Soares<psoares@...> wrote:
> > Looks like the files are truncated. If the files are
> linearized Acrobat won't look for the trailer as all the
> information it requires is in the linerization tables.
> >
> > Paulo
> >
> >> -----Original Message-----
> >> From: Dean Krueger [mailto:dmkrueger@...]
> >> Sent: Thursday, July 02, 2009 3:00 PM
> >> To: iText-questions@...
> >> Subject: [iText-questions] "trailer not found."
> >>
> >> Hi,
> >>  I have some PDF's created by a customer, using Distiller 9 on
> >> windows. When I try to open a PdfReader, I get an
> exception "trailer
> >> not found.", Stack Trace is :
> >> iTextSharp.text.pdf.PdfReader.RebuildXref()
> >> at iTextSharp.text.pdf.PdfReader.ReadPdf()
> >> at iTextSharp.text.pdf.PdfReader..ctor(String filename,
> >> Byte[] ownerPassword)
> >> at iTextSharp.text.pdf.PdfReader..ctor(String filename)
> >>
> >> The PDF's are 1.6 and they are Linearized.
> >>
> >> Anybody have any idea's why I get this exception. These files open
> >> fine in Acrobat and Apple's Preview.app with no errors.
> >>
> >> I can supply the files if someone wants to have a look.
> >>
> >> Thanks
> >> Dean Krueger


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: "trailer not found."

by Dean Krueger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, here is a smaller one.. Thanks!


On Thu, Jul 2, 2009 at 11:08 AM, Paulo Soares<psoares@...> wrote:

> It can read but the PDF must have the trailer and not have more than 1k of garbage after it. It's better to look at one of those PDFs.
>
> Paulo
>
>> -----Original Message-----
>> From: Dean Krueger [mailto:dmkrueger@...]
>> Sent: Thursday, July 02, 2009 4:04 PM
>> To: Post all your questions about iText here
>> Subject: Re: [iText-questions] "trailer not found."
>>
>> Does that mean, iText doesn't support this type of PDF?
>> I thought it couldn't write linearized file but could read them.
>>
>> Thanks
>> Dean
>>
>> On Thu, Jul 2, 2009 at 10:43 AM, Paulo
>> Soares<psoares@...> wrote:
>> > Looks like the files are truncated. If the files are
>> linearized Acrobat won't look for the trailer as all the
>> information it requires is in the linerization tables.
>> >
>> > Paulo
>> >
>> >> -----Original Message-----
>> >> From: Dean Krueger [mailto:dmkrueger@...]
>> >> Sent: Thursday, July 02, 2009 3:00 PM
>> >> To: iText-questions@...
>> >> Subject: [iText-questions] "trailer not found."
>> >>
>> >> Hi,
>> >>  I have some PDF's created by a customer, using Distiller 9 on
>> >> windows. When I try to open a PdfReader, I get an
>> exception "trailer
>> >> not found.", Stack Trace is :
>> >> iTextSharp.text.pdf.PdfReader.RebuildXref()
>> >> at iTextSharp.text.pdf.PdfReader.ReadPdf()
>> >> at iTextSharp.text.pdf.PdfReader..ctor(String filename,
>> >> Byte[] ownerPassword)
>> >> at iTextSharp.text.pdf.PdfReader..ctor(String filename)
>> >>
>> >> The PDF's are 1.6 and they are Linearized.
>> >>
>> >> Anybody have any idea's why I get this exception. These files open
>> >> fine in Acrobat and Apple's Preview.app with no errors.
>> >>
>> >> I can supply the files if someone wants to have a look.
>> >>
>> >> Thanks
>> >> Dean Krueger
>
>
> Aviso Legal:
> Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.
>
> Disclaimer:
> This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> iText-questions mailing list
> iText-questions@...
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
> You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

QG066__23450.zip (2M) Download Attachment

Re: "trailer not found."

by Paulo Soares-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'll have look.

Paulo

> -----Original Message-----
> From: Dean Krueger [mailto:dmkrueger@...]
> Sent: Thursday, July 02, 2009 4:15 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] "trailer not found."
>
> Ok, here is a smaller one.. Thanks!
>
>
> On Thu, Jul 2, 2009 at 11:08 AM, Paulo
> Soares<psoares@...> wrote:
> > It can read but the PDF must have the trailer and not have
> more than 1k of garbage after it. It's better to look at one
> of those PDFs.
> >
> > Paulo
> >
> >> -----Original Message-----
> >> From: Dean Krueger [mailto:dmkrueger@...]
> >> Sent: Thursday, July 02, 2009 4:04 PM
> >> To: Post all your questions about iText here
> >> Subject: Re: [iText-questions] "trailer not found."
> >>
> >> Does that mean, iText doesn't support this type of PDF?
> >> I thought it couldn't write linearized file but could read them.
> >>
> >> Thanks
> >> Dean
> >>
> >> On Thu, Jul 2, 2009 at 10:43 AM, Paulo
> >> Soares<psoares@...> wrote:
> >> > Looks like the files are truncated. If the files are
> >> linearized Acrobat won't look for the trailer as all the
> >> information it requires is in the linerization tables.
> >> >
> >> > Paulo
> >> >
> >> >> -----Original Message-----
> >> >> From: Dean Krueger [mailto:dmkrueger@...]
> >> >> Sent: Thursday, July 02, 2009 3:00 PM
> >> >> To: iText-questions@...
> >> >> Subject: [iText-questions] "trailer not found."
> >> >>
> >> >> Hi,
> >> >>  I have some PDF's created by a customer, using Distiller 9 on
> >> >> windows. When I try to open a PdfReader, I get an
> >> exception "trailer
> >> >> not found.", Stack Trace is :
> >> >> iTextSharp.text.pdf.PdfReader.RebuildXref()
> >> >> at iTextSharp.text.pdf.PdfReader.ReadPdf()
> >> >> at iTextSharp.text.pdf.PdfReader..ctor(String filename,
> >> >> Byte[] ownerPassword)
> >> >> at iTextSharp.text.pdf.PdfReader..ctor(String filename)
> >> >>
> >> >> The PDF's are 1.6 and they are Linearized.
> >> >>
> >> >> Anybody have any idea's why I get this exception. These
> files open
> >> >> fine in Acrobat and Apple's Preview.app with no errors.
> >> >>
> >> >> I can supply the files if someone wants to have a look.
> >> >>
> >> >> Thanks
> >> >> Dean Krueger


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: "trailer not found."

by Leonard Rosenthol-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Re: [iText-questions] "trailer not found." Quick clarification...

Acrobat/Reader will ONLY look at the linearization information when viewing in a browser.  All desktop viewing ignores it.

Leonard


On 7/2/09 10:43 AM, "Paulo Soares" <psoares@...> wrote:

Looks like the files are truncated. If the files are linearized Acrobat won't look for the trailer as all the information it requires is in the linerization tables.

Paulo

> -----Original Message-----
> From: Dean Krueger [dmkrueger@...]
> Sent: Thursday, July 02, 2009 3:00 PM
> To: iText-questions@...
> Subject: [iText-questions] "trailer not found."
>
> Hi,
>  I have some PDF's created by a customer, using Distiller 9 on
> windows. When I try to open a PdfReader, I get an exception "trailer
> not found.", Stack Trace is :
> iTextSharp.text.pdf.PdfReader.RebuildXref()
> at iTextSharp.text.pdf.PdfReader.ReadPdf()
> at iTextSharp.text.pdf.PdfReader..ctor(String filename,
> Byte[] ownerPassword)
> at iTextSharp.text.pdf.PdfReader..ctor(String filename)
>
> The PDF's are 1.6 and they are Linearized.
>
> Anybody have any idea's why I get this exception. These files open
> fine in Acrobat and Apple's Preview.app with no errors.
>
> I can supply the files if someone wants to have a look.
>
> Thanks
> Dean Krueger


Aviso Legal:

Esta mensagem ? destinada exclusivamente ao destinat?rio. Pode conter informa??o confidencial ou legalmente protegida. A incorrecta transmiss?o desta mensagem n?o significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. ? proibido a qualquer pessoa que n?o o destinat?rio de usar, revelar ou distribuir qualquer parte desta mensagem.



Disclaimer:

This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.





--
Leonard Rosenthol
PDF Standards Architect
Adobe Systems Incorporated

------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Carriage Return with Paragraphs

by Tri Phan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello, does anyone know how to prevent a carriage return from being insert at the end of a paragraph?  I tried using Phrase but it does not support set alignment capabilities.  Thanks.

Tri


------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: "trailer not found."

by Paulo Soares-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The problem is fixed in the iTextSharp SVN. A new iTextSharp release will be available next week.

Paulo

> -----Original Message-----
> From: Dean Krueger [mailto:dmkrueger@...]
> Sent: Thursday, July 02, 2009 4:15 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] "trailer not found."
>
> Ok, here is a smaller one.. Thanks!
>
>
> On Thu, Jul 2, 2009 at 11:08 AM, Paulo
> Soares<psoares@...> wrote:
> > It can read but the PDF must have the trailer and not have
> more than 1k of garbage after it. It's better to look at one
> of those PDFs.
> >
> > Paulo
> >
> >> -----Original Message-----
> >> From: Dean Krueger [mailto:dmkrueger@...]
> >> Sent: Thursday, July 02, 2009 4:04 PM
> >> To: Post all your questions about iText here
> >> Subject: Re: [iText-questions] "trailer not found."
> >>
> >> Does that mean, iText doesn't support this type of PDF?
> >> I thought it couldn't write linearized file but could read them.
> >>
> >> Thanks
> >> Dean
> >>
> >> On Thu, Jul 2, 2009 at 10:43 AM, Paulo
> >> Soares<psoares@...> wrote:
> >> > Looks like the files are truncated. If the files are
> >> linearized Acrobat won't look for the trailer as all the
> >> information it requires is in the linerization tables.
> >> >
> >> > Paulo
> >> >
> >> >> -----Original Message-----
> >> >> From: Dean Krueger [mailto:dmkrueger@...]
> >> >> Sent: Thursday, July 02, 2009 3:00 PM
> >> >> To: iText-questions@...
> >> >> Subject: [iText-questions] "trailer not found."
> >> >>
> >> >> Hi,
> >> >>  I have some PDF's created by a customer, using Distiller 9 on
> >> >> windows. When I try to open a PdfReader, I get an
> >> exception "trailer
> >> >> not found.", Stack Trace is :
> >> >> iTextSharp.text.pdf.PdfReader.RebuildXref()
> >> >> at iTextSharp.text.pdf.PdfReader.ReadPdf()
> >> >> at iTextSharp.text.pdf.PdfReader..ctor(String filename,
> >> >> Byte[] ownerPassword)
> >> >> at iTextSharp.text.pdf.PdfReader..ctor(String filename)
> >> >>
> >> >> The PDF's are 1.6 and they are Linearized.
> >> >>
> >> >> Anybody have any idea's why I get this exception. These
> files open
> >> >> fine in Acrobat and Apple's Preview.app with no errors.
> >> >>
> >> >> I can supply the files if someone wants to have a look.
> >> >>
> >> >> Thanks
> >> >> Dean Krueger


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: "trailer not found."

by Dean Krueger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, was there something new in the PDF what caused this Exception?

On Fri, Jul 3, 2009 at 4:59 AM, Paulo Soares<psoares@...> wrote:

> The problem is fixed in the iTextSharp SVN. A new iTextSharp release will be available next week.
>
> Paulo
>
>> -----Original Message-----
>> From: Dean Krueger [mailto:dmkrueger@...]
>> Sent: Thursday, July 02, 2009 4:15 PM
>> To: Post all your questions about iText here
>> Subject: Re: [iText-questions] "trailer not found."
>>
>> Ok, here is a smaller one.. Thanks!
>>
>>
>> On Thu, Jul 2, 2009 at 11:08 AM, Paulo
>> Soares<psoares@...> wrote:
>> > It can read but the PDF must have the trailer and not have
>> more than 1k of garbage after it. It's better to look at one
>> of those PDFs.
>> >
>> > Paulo
>> >
>> >> -----Original Message-----
>> >> From: Dean Krueger [mailto:dmkrueger@...]
>> >> Sent: Thursday, July 02, 2009 4:04 PM
>> >> To: Post all your questions about iText here
>> >> Subject: Re: [iText-questions] "trailer not found."
>> >>
>> >> Does that mean, iText doesn't support this type of PDF?
>> >> I thought it couldn't write linearized file but could read them.
>> >>
>> >> Thanks
>> >> Dean
>> >>
>> >> On Thu, Jul 2, 2009 at 10:43 AM, Paulo
>> >> Soares<psoares@...> wrote:
>> >> > Looks like the files are truncated. If the files are
>> >> linearized Acrobat won't look for the trailer as all the
>> >> information it requires is in the linerization tables.
>> >> >
>> >> > Paulo
>> >> >
>> >> >> -----Original Message-----
>> >> >> From: Dean Krueger [mailto:dmkrueger@...]
>> >> >> Sent: Thursday, July 02, 2009 3:00 PM
>> >> >> To: iText-questions@...
>> >> >> Subject: [iText-questions] "trailer not found."
>> >> >>
>> >> >> Hi,
>> >> >>  I have some PDF's created by a customer, using Distiller 9 on
>> >> >> windows. When I try to open a PdfReader, I get an
>> >> exception "trailer
>> >> >> not found.", Stack Trace is :
>> >> >> iTextSharp.text.pdf.PdfReader.RebuildXref()
>> >> >> at iTextSharp.text.pdf.PdfReader.ReadPdf()
>> >> >> at iTextSharp.text.pdf.PdfReader..ctor(String filename,
>> >> >> Byte[] ownerPassword)
>> >> >> at iTextSharp.text.pdf.PdfReader..ctor(String filename)
>> >> >>
>> >> >> The PDF's are 1.6 and they are Linearized.
>> >> >>
>> >> >> Anybody have any idea's why I get this exception. These
>> files open
>> >> >> fine in Acrobat and Apple's Preview.app with no errors.
>> >> >>
>> >> >> I can supply the files if someone wants to have a look.
>> >> >>
>> >> >> Thanks
>> >> >> Dean Krueger
>
>
> Aviso Legal:
> Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.
>
> Disclaimer:
> This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> iText-questions mailing list
> iText-questions@...
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
> You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: Carriage Return with Paragraphs

by 1T3XT info :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Tri Phan wrote:
> Hello, does anyone know how to prevent a carriage return from being insert at the end of a paragraph?  

No.
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: "trailer not found."

by Dean Krueger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Paulo, how do I get the latest version that includes this fix for
itextsharp? Do I compile it myself? or will there be a 4.1.3?

Thanks
Dean

On Fri, Jul 3, 2009 at 7:50 AM, Dean Krueger<dmkrueger@...> wrote:

> Thanks, was there something new in the PDF what caused this Exception?
>
> On Fri, Jul 3, 2009 at 4:59 AM, Paulo Soares<psoares@...> wrote:
>> The problem is fixed in the iTextSharp SVN. A new iTextSharp release will be available next week.
>>
>> Paulo
>>
>>> -----Original Message-----
>>> From: Dean Krueger [mailto:dmkrueger@...]
>>> Sent: Thursday, July 02, 2009 4:15 PM
>>> To: Post all your questions about iText here
>>> Subject: Re: [iText-questions] "trailer not found."
>>>
>>> Ok, here is a smaller one.. Thanks!
>>>
>>>
>>> On Thu, Jul 2, 2009 at 11:08 AM, Paulo
>>> Soares<psoares@...> wrote:
>>> > It can read but the PDF must have the trailer and not have
>>> more than 1k of garbage after it. It's better to look at one
>>> of those PDFs.
>>> >
>>> > Paulo
>>> >
>>> >> -----Original Message-----
>>> >> From: Dean Krueger [mailto:dmkrueger@...]
>>> >> Sent: Thursday, July 02, 2009 4:04 PM
>>> >> To: Post all your questions about iText here
>>> >> Subject: Re: [iText-questions] "trailer not found."
>>> >>
>>> >> Does that mean, iText doesn't support this type of PDF?
>>> >> I thought it couldn't write linearized file but could read them.
>>> >>
>>> >> Thanks
>>> >> Dean
>>> >>
>>> >> On Thu, Jul 2, 2009 at 10:43 AM, Paulo
>>> >> Soares<psoares@...> wrote:
>>> >> > Looks like the files are truncated. If the files are
>>> >> linearized Acrobat won't look for the trailer as all the
>>> >> information it requires is in the linerization tables.
>>> >> >
>>> >> > Paulo
>>> >> >
>>> >> >> -----Original Message-----
>>> >> >> From: Dean Krueger [mailto:dmkrueger@...]
>>> >> >> Sent: Thursday, July 02, 2009 3:00 PM
>>> >> >> To: iText-questions@...
>>> >> >> Subject: [iText-questions] "trailer not found."
>>> >> >>
>>> >> >> Hi,
>>> >> >>  I have some PDF's created by a customer, using Distiller 9 on
>>> >> >> windows. When I try to open a PdfReader, I get an
>>> >> exception "trailer
>>> >> >> not found.", Stack Trace is :
>>> >> >> iTextSharp.text.pdf.PdfReader.RebuildXref()
>>> >> >> at iTextSharp.text.pdf.PdfReader.ReadPdf()
>>> >> >> at iTextSharp.text.pdf.PdfReader..ctor(String filename,
>>> >> >> Byte[] ownerPassword)
>>> >> >> at iTextSharp.text.pdf.PdfReader..ctor(String filename)
>>> >> >>
>>> >> >> The PDF's are 1.6 and they are Linearized.
>>> >> >>
>>> >> >> Anybody have any idea's why I get this exception. These
>>> files open
>>> >> >> fine in Acrobat and Apple's Preview.app with no errors.
>>> >> >>
>>> >> >> I can supply the files if someone wants to have a look.
>>> >> >>
>>> >> >> Thanks
>>> >> >> Dean Krueger
>>
>>
>> Aviso Legal:
>> Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.
>>
>> Disclaimer:
>> This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> iText-questions mailing list
>> iText-questions@...
>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>> Buy the iText book: http://www.1t3xt.com/docs/book.php
>> Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
>> You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
>

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: "trailer not found."

by Paulo Soares-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'll have a new iTextSharp release today, it will 4.1.6 and will contain all that is in iText 2.1.6 plus any SVN changes.

Paulo

> -----Original Message-----
> From: Dean Krueger [mailto:dmkrueger@...]
> Sent: Monday, July 06, 2009 3:45 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] "trailer not found."
>
> Paulo, how do I get the latest version that includes this fix for
> itextsharp? Do I compile it myself? or will there be a 4.1.3?
>
> Thanks
> Dean
>
> On Fri, Jul 3, 2009 at 7:50 AM, Dean
> Krueger<dmkrueger@...> wrote:
> > Thanks, was there something new in the PDF what caused this
> Exception?
> >
> > On Fri, Jul 3, 2009 at 4:59 AM, Paulo
> Soares<psoares@...> wrote:
> >> The problem is fixed in the iTextSharp SVN. A new
> iTextSharp release will be available next week.
> >>
> >> Paulo
> >>
> >>> -----Original Message-----
> >>> From: Dean Krueger [mailto:dmkrueger@...]
> >>> Sent: Thursday, July 02, 2009 4:15 PM
> >>> To: Post all your questions about iText here
> >>> Subject: Re: [iText-questions] "trailer not found."
> >>>
> >>> Ok, here is a smaller one.. Thanks!
> >>>
> >>>
> >>> On Thu, Jul 2, 2009 at 11:08 AM, Paulo
> >>> Soares<psoares@...> wrote:
> >>> > It can read but the PDF must have the trailer and not have
> >>> more than 1k of garbage after it. It's better to look at one
> >>> of those PDFs.
> >>> >
> >>> > Paulo
> >>> >
> >>> >> -----Original Message-----
> >>> >> From: Dean Krueger [mailto:dmkrueger@...]
> >>> >> Sent: Thursday, July 02, 2009 4:04 PM
> >>> >> To: Post all your questions about iText here
> >>> >> Subject: Re: [iText-questions] "trailer not found."
> >>> >>
> >>> >> Does that mean, iText doesn't support this type of PDF?
> >>> >> I thought it couldn't write linearized file but could
> read them.
> >>> >>
> >>> >> Thanks
> >>> >> Dean
> >>> >>
> >>> >> On Thu, Jul 2, 2009 at 10:43 AM, Paulo
> >>> >> Soares<psoares@...> wrote:
> >>> >> > Looks like the files are truncated. If the files are
> >>> >> linearized Acrobat won't look for the trailer as all the
> >>> >> information it requires is in the linerization tables.
> >>> >> >
> >>> >> > Paulo
> >>> >> >
> >>> >> >> -----Original Message-----
> >>> >> >> From: Dean Krueger [mailto:dmkrueger@...]
> >>> >> >> Sent: Thursday, July 02, 2009 3:00 PM
> >>> >> >> To: iText-questions@...
> >>> >> >> Subject: [iText-questions] "trailer not found."
> >>> >> >>
> >>> >> >> Hi,
> >>> >> >>  I have some PDF's created by a customer, using
> Distiller 9 on
> >>> >> >> windows. When I try to open a PdfReader, I get an
> >>> >> exception "trailer
> >>> >> >> not found.", Stack Trace is :
> >>> >> >> iTextSharp.text.pdf.PdfReader.RebuildXref()
> >>> >> >> at iTextSharp.text.pdf.PdfReader.ReadPdf()
> >>> >> >> at iTextSharp.text.pdf.PdfReader..ctor(String filename,
> >>> >> >> Byte[] ownerPassword)
> >>> >> >> at iTextSharp.text.pdf.PdfReader..ctor(String filename)
> >>> >> >>
> >>> >> >> The PDF's are 1.6 and they are Linearized.
> >>> >> >>
> >>> >> >> Anybody have any idea's why I get this exception. These
> >>> files open
> >>> >> >> fine in Acrobat and Apple's Preview.app with no errors.
> >>> >> >>
> >>> >> >> I can supply the files if someone wants to have a look.
> >>> >> >>
> >>> >> >> Thanks
> >>> >> >> Dean Krueger


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.

------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/