I have approximately 700 documents that I need to apply watermarks to. These are Material Safety Data sheets and the watermark needs to be derived from a combination of static content:
"SKU - "
and dynamic content:
the first 8 characters of the filename.
So if I had a file called 12345678 the watermark should appear as:
SKU - 12345678
I am currently manually adding this information but need to automate as the process will be handed over other staff members and needs to be easily repeatable.
My Current Watermark config is:
Text: SKU - 12345678
Font: Arial
Size: 18
Rotation: -90
Opacity: 100%
location: appear on top of page
Position: Vertical Distance o..1 inches from Bottom
Horizontal distance 0.1 inches from Right
If anyone can assist in helping to provide the required java so that i can batch this i'd very much appreciate it.
Regarding the contents of it, you can use this code:
"SKU - " + this.documentFileName.substring(0,8);
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com