This is something that can only be fixed by having access to the machine. It may be a file access problem or a broken Java install or something else.
Paulo ----- Original Message ----- From: "z flaherty" <returntoglory...@hotmail.com> To: <itext-questions@lists.sourceforge.net> Sent: Monday, August 10, 2009 4:33 PM Subject: [iText-questions] Stamping on my Windows XP box doesn't copy thepdf elements. Suppose my code looks something like this: PdfReader reader = new Reader("foo.pdf"); ByteArrayOutputStream out = new ByteArrayOutputStream(); PdfStamper stamp = new PdfStamper(reader, out); Acrofields form = stamp.getAcroFields(); form.setField("fieldName", "test"); form.setField("fieldName2", "test"); stamp.close(); reader.close(); ... If I compile my app on an XP machine and generate a pdf with the app none of the form elements will display, and adobe reader says that there are errors on the form. The fields that I set to 'test' will display; I'll see a mostly blank pdf form with the words 'test' appearing on the page where you would expect them to. I'm not seeing this problem on my Vista, os X, or linux machines only my Windows XP machine. If I take the same code and generate the .jar on any of the operating systems listed above and run it on an XP machine everything works fine. If I take the .pdf generated by the xp-compiled jar and run it on other platforms they show the same behavior. I've used in house generated .pdfs as well as external ones to feed into PdfReader and they're all having the same problem. I'm just not sure where to begin looking to solve this, any suggestions would be most welcome. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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/