let's say i have created a portal with 2000 rows and I don't want the user to print the whole 2000 rows.
Only 24 rows appears on one page when printing.
I'd like to calculate rows and get the result of how many pages to print out.
Example: if 50 rows, then 50 / 24 = 48 rows fit on two pages,rest 2 rows will be on third page.
So, how to show the user to print only 3 pages.