Commit 22bd35d4 authored by Carsten  Rose's avatar Carsten Rose
Browse files

wkhtml tip

parent d67a0ea2
Pipeline #2588 passed with stages
in 2 minutes and 39 seconds
......@@ -7179,11 +7179,13 @@ Best practice:
Use in `report`::
sql = SELECT CONCAT('d:Letter.pdf|t:',p.firstName, ' ', p.name,
'|p:id=letterbody&pId=', p.id, '&_sip=1&--margin-top=50mm&--margin-bottom=20mm&',
'--header-html={{BASE_URL_PRINT:Y}}?id=letterheader&',
'--footer-right="Seite: [page]/[toPage]"&',
'--footer-font-size=8&--footer-spacing=10') AS _pdf
sql = SELECT CONCAT('d:Letter.pdf|t:',p.firstName, ' ', p.name
, '|p:id=letterbody&pId=', p.id, '&_sip=1'
# missing margin-bottom hides the footer
, '&--margin-top=50mm&--margin-bottom=20mm'
, '&--header-html={{BASE_URL_PRINT:Y}}?id=letterheader'
, '&--footer-right="Seite: [page]/[toPage]"'
, '&--footer-font-size=8&--footer-spacing=10') AS _pdf
FROM Person AS p ORDER BY p.id
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment