Hi,
Is there a way to apply a watermark to a file from the command line?
The only way I've found is applying a profile, but I have to use a different text every time.
Thanks in advance
The -applyProfile switch of pdf24-DocTool.exe is the right way. There is another switch which you can use the override settings of that profile. This is -profileParam key value.
pdf24-DocTool.exe -applyProfile -profile user/XXXXXX -profileParam pdf-watermarkText YYYYYYYYÂ .....
Thanks Stefan for your answer, but I can't get it to work.
SW Version 11.1.0
this is what i tried:
pdf24-DocTool.exe -applyProfile -profile user/mywm -profileParam pdf-watermarkText "My Watermark custom text" test.pdf -outputFile test_mark.pdf
Am I doing something wrong?
Any other suggest?
Thanks
The -profileParam switch is available since version 11.7.0
thanks again
Thanks for your suggest Stefan, but I can't get it to work.
This is what i tried:
pdf24-DocTool.exe -applyProfile -profile user/mywm -profileParam pdf-watermarkText "My Watermark custom text" test.pdf -outputFile test_mark.pdf
I also tried with -pdf-watermarkText with no luck.
Sw version 11.1.0
Am i doing something wrong?
Any further suggest?