Watermarks and embossing
Security watermarks with the printing user and time, repeated over the page, and web embossing of seals and logos on screen, paper and PDF.
A watermark is a string or settings, or a list of them. Because the text is a template, a security watermark can carry who printed the page and when, repeated over the page so a photo or copy still shows it.
"watermark": [
{ "text": "{params.user} · {format(now(), 'yyyy-MM-dd HH:mm')} 출력", "repeat": true, "opacity": 0.07, "fontSize": 10, "gap": 40 },
{ "text": "사 본", "fontSize": 110, "color": "#c8102e", "pages": "all" }
],
"emboss": { "text": "(주)세컨드코리아 대표이사 직인 ·", "centerText": "인증", "x": 140, "y": 240, "w": 34 }| Name | Type | Description |
|---|---|---|
text | string | Template, e.g. "{params.user} · {format(now(), 'yyyy-MM-dd HH:mm')}". |
image, imageWidth | string, number | Image mark instead of (or with) text; width in mm. |
repeat, gap | boolean, number | Tile over the page (security pattern); distance in mm (default 45). |
opacity, angle, color, fontSize, bold | — | Default opacity 0.12, angle -35°. |
pages | 'all' | 'first' | 'last' | 'odd' | 'even' | Which pages. |
layer | 'back' | 'front' | Behind the content (default) or over it. |
Web embossing
Embossing draws a raised seal, logo or text with light and shadow, like a stamp pressed into paper. It appears on screen, in print and in the PDF.
| Name | Type | Description |
|---|---|---|
text, centerText | string | Text around a round seal and in its centre (templates allowed). |
image | string | A logo turned into a relief. |
x, y, w, h | number | Position and size in mm (default a 32mm seal near the bottom right). |
shape | 'circle' | 'rect' | 'none' | Outline. |
depth, color, opacity, fontSize, pages | — | Relief depth in mm (default 0.3), paper tone, opacity, pages. |