Automated (scripted) editing of PDF metadata, security settings, watermarks, etc.?
I am the publisher of some commercial textbooks previously available only in print form. I want to begin making copies available electronically as PDFs, but I would like to build in modest safeguards against unauthorized distribution. This includes adding metadata to record who the authorized user is as well as applying a watermark at the bottom of each page. I will also apply security settings to disable edits and enable encryption.
I can do this all manually in Acrobat, but that becomes cumbersome for more than a few copies. Does there exist a script-like (ideally Python-friendly) mechanism for automating the above changes?
