I am trying to print a large table, for some reasons I need to split the table page by page with script.
I am trying to achieve this with checking the height of the t