2006 IR Open Dicussion Posted August 27, 2006 Share Posted August 27, 2006 By: elgs - elgs Same data generates files with different hash 2006-03-06 18:30Hi, I'm new to Jasperreports. I generate pdf file several times with the same template and data. I expected them to have same md5 hash, but they don't. Could anyone help me how I can generate exactly the same pdf files with the same template and data? Thanks in advance! Elgs By: Lucian Chirita - lucianc RE: Same data generates files with different 2006-03-09 00:24Hi What you want might not be possible. iText writes a timestamp in the generated document as creation date. This would obviously result in non-identical files even when the same code with same data is used. I don't know whether there is a possibility to instruct iText not to write the timestamp or to write a fixed creation date. I also don't know whether the creation date is the only data that differs between files.. You could try to ask this question on the iText forum and see whether a solution exists. Regards, Lucian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now