I generate a large HTML file.(local file on my PC, using CSS) Then I print (save) this HTML to PDF, using Chrome. It works fine.
But I need page numbers on every page in the PDF, and I need a table of contents, with the link to the chapter pages.
I need your help with any solution that can do this.(JS script, CSS, online tool, ...)