Add watermark on each PDF page

Hi there,

how can I repeat a div on each page on the same position?
I need this because I am trying to add the below

as a watermark.

Thank you!

Why not set the Watermark image as the background of the Section? Or use a Master Page?

Thank you for the reply!

I followed this documentation page:
https://help.objectiflune.com/EN/planetpress-connect-user-guide/1.6/#designer/Scripting/Scripting_Print_Background.htm

I wrote this control script:

var bgUrl = “images/versionNonValide.pdf”;
var bg = merge.template.contexts.PRINT.sections[“Section 1”];
bg.background.source = BackgroundResource.RESOURCE_PDF;
if(record.fields.V_DEVI_STATUS==“0”){
bg.background.allPages = true;
bg.background.url=bgUrl;
bg.position = MediaPosition.FIT_TO_MEDIA;
bg.background.left = “50mm”;
bg.background.top = “100mm”;
bg.background.scale = 120;
}

my problem is that this watermarks is only working on 1st page!
any tips?

Thank you.

Hi,
Do you require to print this watermark? If not require you can use virtual stationery at Media by adding setting image to front.

But if really need to print, you can check option print virtual stationery at print option.

Hope this help, thanks.

Best Regards,
Rostam Romainoor