Sameer Borwankar wrote:
Hi All,
I am populating PDF template using iText 2.0.1. Version of the template is 1.5 (Acrobat 6.x). But after populating with data, version changes to 1.4 (Acrobat 5.x)
Can anyone guide me regarding this issue?

Yes, you are using the wrong constructor for PdfStamper;
use the following constructor:
http://itext.ugent.be/library/api/com/lowagie/text/pdf/PdfStamper.html#PdfStamper(com.lowagie.text.pdf.PdfReader,%20java.io.OutputStream,%20char)
For instance: new PdfStamper(reader, os, '\0');
br,
Bruno

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to