GaneshPrakhya wrote: >Hi Bruno, > >The example you suggested is working fine for me. However, the targent >document was around 4MB in size with 100 pages. I tried the samething with >same template using PDFLib, the document PDFLib created with 100 pages was >around 150KB. Is there any approach to reduce the size of the document. > OK, the example I referred to before, has only three pages (one per record) and is 14 KB. Now I have added a more efficient example (using a totally different technique), and the result looks the same (it even has page numbers now), but it is only 3KB. http://itext.ugent.be/articles/eid-pdf/ (at the bottom) http://itext.ugent.be/articles/eid-pdf/test/BatchFormFill.java br, Bruno
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions