The HTML2PDF and HTML2PS that was originally mentioned in opening post was talking about a 2009 package with this link
But there is a better HTML2PDF
It is based on TCPDF though it is partly in French.
You can have table headers or footers that repeat on the pages and have page numbers and total pages. See its examples. I have been using it for over three years and recommend it.