wkhtmlpdf render header and footer
-
template: { "shortid": "S1L0FX2ZM", "wkhtmltopdf": { "header": "test1", "footer": "test1" } }
When I send this POST-request to the server, my rendered pdf just contains white space. How could I place header an footer correctly?
-
wkhtmltopdf requires that header and footer is real html
<!DOCTYPE html> <html> <body> Header... </body> </html>
See an example here
https://playground.jsreport.net/studio/workspace/Hk5o-aXzf/2