Add watermark from command line

Home › Forums › General › Add watermark from command line

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #63375
    patrispa
    Participant

    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

    #63378
    Stefan Ziegler
    Keymaster

    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  .....

    #64544
    patrispa
    Participant

    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?

    #64545
    patrispa
    Participant

    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

    #64546
    Stefan Ziegler
    Keymaster

    The -profileParam switch is available since version 11.7.0

    #64547
    patrispa
    Participant

    thanks again

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.