Tcpdf header on every page. Here I use tcpdf library.

Tcpdf header on every page. column-headings-of-a-table-on-each-page-in-tcpdf.