I am using printer object to print a report. This report has 400 lines . My problem is that after printing 58 lines on the current page it should skip to the next page and then print the next 58 lines and so on , this is not happening.

Now this does not happen and all the matter is printer continuesly that is there is no gap.

how do i create the above report