Print in page in html

I am create a print button. It is printable but the error is "Table head is repeat at the page end at the time of print" which is shown in below image.
enter image description here

how to remove or set the repeated "table heading".

Here is my code-
enter image description here