pdfsam is the software I'm maintaining and it uses PdfCopy to concatenate documents. A user reported me this issue so I made some tests using the examples found here: http://itextdocs.lowagie.com/tutorial/general/copystamp/index.php and I found that Ghostscript (and others) complains also opening the concatenated.pdf document generated with the com.lowagie.examples.general.copystamp.Concatenate.java class.
Paulo Soares-3 wrote: > > I don't see any pdfsam in the iText sources. > > Paulo > >> -----Original Message----- >> From: Andrea Vacondio [mailto:andrea.vacon...@gmail.com] >> Sent: Wednesday, May 20, 2009 3:29 PM >> To: itext-questions@lists.sourceforge.net >> Subject: [iText-questions] PdfCopy and xref problems >> >> A user reported that Ghostscript and other softwares >> complains about an invalid xref entry in documents generated >> using pdfsam merge command. I made some test using the >> provided PdfCopy example and here is the Ghostscript error: >> >> GPL Ghostscript 8.64 (2009-02-03) >> Copyright (C) 2009 Artifex Software, Inc. All rights reserved. >> This software comes with NO WARRANTY: see the file PUBLIC for details. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: Generation number out of 0..65535 range, assuming 0. >> **** Warning: File has an invalid xref entry: 1. >> Rebuilding xref table. >> Processing pages 1 through 19. >> Page 1 >> >> To reproduce it simply run Ghostscript against the >> concatenated.pdf provided with the PdfCopy example on >> http://itextdocs.lowagie.com. The error disappear setting >> enabling full compression on the writer. >> I attached a couple of images showing other softwares >> reporting about the xref table. >> >> > > 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. > > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables > unlimited royalty-free distribution of the report engine > for externally facing server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > 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/ > -- View this message in context: http://www.nabble.com/PdfCopy-and-xref-problems-tp23636758p23637631.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/