header and footer are applied only on the table of contents page (toc)

59 views
Skip to first unread message

Amr Rady

unread,
May 13, 2020, 1:28:23 PM5/13/20
to wkhtmltopdf General
I want to apply the header and the footer to all pages (including toc) but what I got is that they only appear on the toc (table of content) page. How to solve this problem?

I'm using this command.


wkhtmltopdf --encoding 'UTF-8' toc --xsl-style-sheet /Users/Documents/toc.xsl --header-html /Users/Documents/header.html --header-spacing 10 --footer-html /Users/Documents/footer.html --footer-spacing 10 /Users/Documents/draft-11.html /Users/Documents/content-draft.pdf

am novice

unread,
Dec 29, 2020, 7:07:45 AM12/29/20
to wkhtmltopdf General
Hi, Did you solve this? Your query is almost many months old. If you could share the solution, those with similar issues could get help

George Reynolds

unread,
Dec 29, 2020, 7:33:34 AM12/29/20
to wkhtmltop...@googlegroups.com
I can think of a way of doing this with code but I don't know how the wkhtmltopdf switch there is meant to work - is it documented?

is it worth contacting developers about this? 

--
===================================================
You received this message because you are subscribed to the "wkhtmltopdf General" group.
To post to this group, send email to wkhtmltop...@googlegroups.com
To unsubscribe from this group, send email to wkhtmltopdf-gen...@googlegroups.com
 
For more options, visit this group at
http://groups.google.com/group/wkhtmltopdf-general?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups "wkhtmltopdf General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wkhtmltopdf-gen...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wkhtmltopdf-general/372a6087-9faf-43d4-867b-a21e33baa9f2n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages