Jump to content

Exporting Jasper Reports


prashantckc

Recommended Posts

Hi All

I have just started using the Jasper Report 3.6 version.

There are two ways of creating the report say I need to generate the PDF report.

1. I can create it using the JasperExportManager

2. Directly using the Corresponding Exporter. say JRPdfExporter.

Can you please guide me as to which approach we need to use?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Hi. As far as I know, using the specific exporter (say JRPdfExporter) will allow you to have more control on the exporting process. For example, you can add metadata information such as author, creator, etc. to the output PDF file (not sure if this can be done via JasperExportManager). JasperExportManager is for convenience (when you don't need detailed control on the output). See JasperExportManager's documentation here:

http://jasperreports.sourceforge.net/api/net/sf/jasperreports/engine/JasperExportManager.html

Hope that helps.

 

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...