Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
22bd35d4
Commit
22bd35d4
authored
Nov 03, 2019
by
Carsten Rose
Browse files
wkhtml tip
parent
d67a0ea2
Pipeline
#2588
passed with stages
in 2 minutes and 39 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Documentation/Manual.rst
View file @
22bd35d4
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment