It is possible to show page numbers on the report.
Please be safe by copying and pasting the two values in JasperSoft Studio, to be sure that the spacing is enough for two digits.
- Search for PAGE_NUMBER variable in a report.
- Copy the two page items
- one is about the PROMPT for "Page"(change this according to your report message) and the current page (evaluation time : Page)
- the other is about the total pages of the report (evaluation time : Report)
3. Paste it in your report in a Group Header that has "Reprint Header On Each Page" checked
Screenshots: example TransportBooking.jrxml (30-08-2021)