jasper-reports

Problems in generating HTML from jasper

Hi All, I am using jasper report with my application and generating the reports in pdf formats, which are coming up fine. We want the user to be able to view those reports in html also with in the application, but generating HTML from jasper contains inline CSS for its individual element which we do not want. (We want to apply our own C...

Dynamic jasper Remove line when blank

Hi friends, I am generating a report with the dynamic jasper, I want to remove a report line, when line is bank. I know how to do in jasper report. But can anyone suggest me how to remove blank line though dynamic jasper using code. ...

How to email a report pdf from JaserReports/iReport

We are using JasperReports and IReport. Reports are created and running great on the server. However, we would like to be able to email the reports out to the email address stored in the db, instead of printing and mailing. Any help in getting started with this? Thanks ...

How to solve this Grouping issue in JasperReport?

Hi Friends, I am using group functionality in my jasper report to group data . Grouping is happening fine.But the problem is if next group comes, then data will be populated in the next page,even there will be lot of space in the previous page.likewise for each different group different pages coming instead of coming continuously.Can any...

How To Add Font Not In The Application Classpath To A Jasper Report

Hi, I am trying to use a font, that is not installed on my local OS, with a jasper report. The jasper report uses in this way: <textField> <reportElement x="0" y="0" width="137" height="20"/> <textElement> <font fontName="Corbel" size="12"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{...

I am getting an error "unknown hyperlink target 0" when I try to run a Jasper Report.

I recently noticed that something was wrong with a Jasper Report I was running, so I downloaded the latest version of iReports, edited the .jrxml file with iReports, and compiled it to generate a new .jasper file. Now, when I try to run the report, I get a weird error "unknown hyperlink target 0". What's going on? ...

How to avoid null values in jasper reports

Hey guys, I have a field in my jasper report which has a expression value like $F{address_street1}+" "+$F{address_street2}+ " " +$F{address_state} + " "+$F{address_country}+ " "+$F{address_zip} My problem is that if any of the fields in here is null I get the null value between other things like 101 Main St*null*ILUnited States12345 ...

Error loading object from file while compiling jasper report through jsp code

i have created a master report and a sub report. I have written the code in jsp to call the master report but it gives an error. Error Loading object from file: "path where the sub report resides". Please help me out if i am doing something wrong. jasperdesign = JasperManager.loadXmlDesign(getServletConfig().getServletContext().get...

Jasper Reports + PDF generation issue

Hi, I have a jasper report that I'm displaying. Now I have an icon to get the same report in PDF. Now when I deploy the code in an OS with Tomcat it works fine, but the problem I'm facing now is that, we have created a VM Image of Ubuntu without UI. And when I try to download the report as PDF, i get an error, after extensive search o...

Reporting engines with good postgresql support

I have an upcoming project in which reports will play a large role. The reports will be predefined in nature, but may return significant amounts of data. For the database portion of the project we've settled on PostgreSQL, but we're still debating about what stack of software to use for the frontend. The reports are a significant en...

How to make Jasper iReport groups start on new page only when needed?

Hi, I'm using Jasper iReport (output to PDF), and I have a problem with a certain report: Inside the report I have defined a group. On average, each "instance" of that group only contains a small number of detail rows, so I don't want each of them to start on a new page, since it would be a waste of paper (the output is printed on pape...

Jasper Reports - how to get column footer to appear directly below details band

Hi, I'm trying to get a column footer band to appear directly below a details band. The details band contains normally just 2 or 3 rows and thus should not be very deep. The footer always appears further down the page and not directly below the end of the content in the details band - therefore the details band is higher than the conten...

Duplicate values are being suppressed in Jasper bar chart.

I have a Jasper bar chart with occasional duplicate names. In the report customizer class I can see all of the expected data inside the JRChart's datastore, but there is only one value in the final chart. Simple example - I have two items called "a" with values of 1. I would expect to see two items in the chart labeled "a" with bars t...

Generating Reports - What works for you?

I'm looking for a templating tool that allows powerful manipulation of data and report building. JasperReports is powerful, but is it the best out there? I generally don't need the ability for fancy colors or gradients, but I do need the ability to position data accurately and produce reliable, quick results. Ideally, generating a report...

JasperReports accessing method on bean datasource?

Hello, I'm using JasperReports and I'm using the provided JRBeanCollectionDataSource class to wrap a List of beans. Everything works fine in my reports when I'm accessing a simple property of the bean, but what I really need to do is access a few methods on the class. For example I would like to access the method: public List<Date> getC...

How do I display Japanese fonts in PDF via Jasper Reports (without embedding fonts)?

I am creating a report with Japanese characters and the characters show in iReport correctly but when using the PDF exporter the Japanese characters are invisible. I simply want to use the MS Mincho font in the PDF report or the standard PDF Japanese font but have no idea how to configure. I know there is a similar question on Stack ove...

speeding up jasperreports

hello, i just profiled my reporting application when i tried to generate four times the same report in a row. the first one took 1859ms whereas the following ones only took between 400 and 600ms. what is the explanation for that? could i somehow use it to make my application faster? the reporting module runs on the server and waits for t...

Jasperreport incomplete print page...?

The report is viewed correctly with SWTJasperViewer but when it's sent to printer from the SWTJasperViewer dialog, the printed document is incomplete. I can't find what's the problem. I need your help, please ...

How to make "High Low" chart with DynamicJasper?

Hi, I could not find a way to create a "High Low" chart using DynamicJasper 3.1.5 (it is available in iReport). Is it possible to make such chart type? Or, can this type of chart be simulated using some other chart type? ...

avoid space between two field in jasper report

I have three row in jasper sub report , I face problem when I got any one field value null or "" it will written either null or make space without writing anything which make report unwieldy. ...