Forum Documentation

is output guaranteed for the same input

malik
Hi,

I am using prince to generate a lot of pdfs that I store by hashing the content and using it as the filename (I have good reasons for this).

Does prince guarantee that the output file will always be the same if the input is the same (ie there is not timestamps/dynamic data injected into the file)?
I am excluding updates of prince.

Thanks
mikeday
No, PDFs contain a randomly generated ID. However you could skip this line (beginning with "/ID") when hashing the file.
wangp
The metadata may also include timestamps.
malik
Thanks for the reply, very helpfull