Solution:
1. Save yourself the headache and use a Third Party Reporting tool
2. PDFs !!! User can print it in whtever manner he wants to or keep the report as a file backup [no need to cut down trees for paper] !!
I would like to point out:
On one hand you say its a Desktop application, one the other you are referring to
JSP. Either your terminologies are mixed up
or, as Ulf Dittmer pointed out:
Your application could be pc based but uses the browser or some component to show the result
or your application is web based (Not a Desktop application).
If you are indeed using a web based alternative, You have no control over the browser's print mechanism [Other than showing print dialog]
You can show the user instructions on how to print the result in his browser, etc.
Happy to help
Salvin Francis