Page break detection for table in Print Template

Page break detection for table in Print Template

Hello,
is there any option to stop table made of subform values, to be cut on end of page ? I mean it would be best if it will finish on row before end of page and continue table on next page with new header