-
Notifications
You must be signed in to change notification settings - Fork 333
Closed
Description
When using wkhtmltopdf
in command line, I can specify a local HTML file to use as the footer (or header):
wkhtmltopdf --footer-html .\footer.html .\content.html output.pdf
When I pass that reference in the options
variable:
options = {"footer-html":"footer.html"}
... PDFKit never works for me. Passing a url (mentioned here) does work:
options = {"footer-html":"http://google.com"}
Two questions:
- Is it possible to pass a reference to a local HTML file?
- If so, where does the file need to be relative to? I have tried relative and absolute paths, neither seem to work.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels