javajasper-reportsdynamic-jasperdynamic-reports

Print custom text in a report using DynamicJasper


is it possible to print some custom text after the title (and subtitle) using DynamicJasper? The use case is that I want to print a table report where the data is filtered by some criteria, and I need to output the criteria as well. For example, a report of 26-year-old people living in Stockholm would look like this:

TITLE
Subtitle

Age: 26
City: Stockholm

| Name     | Age | Street | City      |
-----------------------------------
| John Doe | 26  | ...    | Stockholm |

An another example might be this invoice which is printed using DynamicReports. If it's not possible I would probably migrate to DynamicReports.

Thanks!


Solution

  • Since I did not find any solution to my answer using DynamicJasper I have migrated to DynamicReports which is able to do what I intended.