Hi Chitturi,
why not use the interface to have an additional column (pagebreak = abap_true) to archive it. This is a good and easy to understand solution without a lot of scripting inside your form.
Anyway, you just need to add an script inside your adobe and put your pagebreak inside it. The Function you need for this modulo and of course the number of the processed lines at the specific site.
Here you can find the function explained:
LiveCycle ES2 * Adobe LiveCycle Designer ES2
The correct event should be form:ready, you can validate it at that page
LiveCycle ES2 * Adobe LiveCycle Designer ES2
So the code itself shouldn't be now that hard and additional to that you didn't share a line as it looks right now.
Happy coding.
~Florian