i've made a program on php wich needs a printer output.
this output is a table wich contains two head rows and several information rows. i print those pages by the window.print(); javascript command.
i need those pages to cantain that head and as many rows as they fit the page. the remaining rows must go on the following page under the head rows, and so on.
in the last page there must the total amount of one of the columns' values addition, as an additional row.
when printing i need the rows not to be split, i mean, it shouldn't be print a part of a row in a page, and the rest of it in the following one.
i finished all the program but the printing arrangement
any suggestions? anyone has dealed with this problem before?