Jump to content
We've recently updated our Privacy Statement, available here ×

riodavid

Members
  • Posts

    179
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by riodavid

  1. Hi Folks,

    I tried to print html symol in my report, for example - "↑"

    If I export the report to excel or word, it will be printed correctly as well.

    But if I export it to PDF, it can not be printed, an empty space will be left there.

    Do you have any idea how to fix this problem?

    Thank you

    D

  2. Hi Folks,

    When I print the alt codes (for example ▲▼ ↑  ↓ ) to report, they are printing correctly.

    If I export the report to excel or word, they will be printed correctly as well.

    But if I export it to PDF, it can not be printed, an empty space will be left there.

    Do you have any idea how to fix this problem?

    Thank you

    D

  3. Hi Yinfeng,

    You can't directly "get" the value of the total page number.

    I guess you are trying to use the total page number as a Print When condition? If that's the case, there's a imperfect workaround...

    BTW I have created a QQ group for Chinese Jasper developers, join 871048119 if you are intrested.

  4. In Jasper report, Detail Band will be printed as many times as the rows returned from the main dataset. We may leverage this feature to achieve what you want.

    1. Create a Parameter [PrintTimes], type Integer.

    2. In the Main Dataset, write "select top $P!{PrintTimes} * from table_name".

    3. Put the text you want to repeat in the Detail Band.

    Below screenshot is what I got:

    https://postimg.cc/zy8XDN4G

    Note, because "Select Top" clause only works for SQLServer, you may need to change it to something that return x rows from your database. For example, in Oracle you may need to use the row number way instead.

×
×
  • Create New...