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

I want to get *jrprint file.


ktrinad

Recommended Posts

By: yumi kim - yumikim

I want to get *jrprint file.

2003-02-10 21:53

I use iReport.

iReport compiler support .xml, .jasper, .pdf, .xls, .html, .csv.

Right?

But, I want to get .jrprint file.

 

I want to show report by embeded applet viewer.

I tried console compile by using the demo 'ChartApp'

this way ..... -Tfil -Fxx.jasper

but, viewer couldn't display xx.jrprint

 

I tried supported file=> ChartReport.jrprint

viewer could display.

 

how can I get right .jrprint file???

 

please~~~~~~~~~

 

 

 

 

By: Giulio Toffoli - gt78

RE: I want to get *jrprint file.

2003-02-11 04:02

jrprint file are static print. Are you sure that ou want use it in your applications? I think that you want fill a jasper file and then view the result (i.e. a jrprint).

 

In both cases, you have to write some lines of code. To export filled reports and save it to disk using iReport, you must simply adding this support to IReportCompiler, in example replacing xls or csv support with jrprint support.

 

I hope this helps you.

 

Giulio

 

 

 

 

By: yumi kim - yumikim

RE: I want to get *jrprint file.

2003-02-11 20:09

thanks~

I modified IReportCompiler little. ^^

so, I got a *.jrprint file~!

 

thanks~~~~~~~~~~

Link to comment
Share on other sites

  • 6 years later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

 

JasperCompileManager.compileReportToFile(Path of  your directory containing .jrxmlfile ".jrxml");
 
After this line you'll get the .jasper file and with below code you'll get the .jasper file 
            
 
            JasperFillManager.fillReportToFile(Path of  your directory containing .jrxmlfile+".jasper",new HashMap(),con);
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...