Jump to content
Changes to the Jaspersoft community edition download ×

Suppressing headers/footers when run to HTML?

2004 IR Help

Recommended Posts

By: CupRep - anatesan

Suppressing headers/footers when run to HTML?

2005-02-08 23:45

I am creating reports that can be exported to both PDF & HTML. If the report output is HTML, I want to suppress printing of all headers and footers.


My question is how do I test whether the current "run" is being sent to HTML or PDF?


There does not seem to be a builtin variable like PAGE_COUNT etc to test this, as far as I can tell.


Note that I am creating a Jasper Report via iReports. I want to be able to do this test by a print condition on the band.





Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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