Introduction

It is possible to show page numbers on the report. 

Solution

Please be safe by copying and pasting the two values in JasperSoft Studio, to be sure that the spacing is enough for two digits.


  1. Search for PAGE_NUMBER variable in a report.
  2. Copy the two page items
    1. one is about the PROMPT for "Page"(change this according to your report message) and the current page (evaluation time : Page)
    2. 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)