How to create documents with and without watermark?

javizam
edited October 23, 2023 in Exstream #1

I am doing a project to generate a PDF but I need it to be generated 2 times, one with a watermark and the other without a watermark. Does anyone know if it can be done and how?

Best Answer

  • Vyv
    Vyv
    #2 Answer ✓

    Easy peasy.

    In your StoryTeller create a fragment with your watermark in it. Then make it dynamic with a variable and use stSetProperty("Visibility", n) where n can be 0 (show), 1 (hide/skip), 2 (make invisible).

    Perform a callproc on your process with your variable negative and then again with it positive.

    Or you can put this watermark in with post processing tools on the same file. :-) Funky.

Answers

  • Vyv
    Vyv
    #3 Answer ✓

    Easy peasy.

    In your StoryTeller create a fragment with your watermark in it. Then make it dynamic with a variable and use stSetProperty("Visibility", n) where n can be 0 (show), 1 (hide/skip), 2 (make invisible).

    Perform a callproc on your process with your variable negative and then again with it positive.

    Or you can put this watermark in with post processing tools on the same file. :-) Funky.

  • thank you very much it helped me