I have a few report names with selection criterias stored i the database. I have two places wherein i should call them. One is the reports module wherein I call the report directly and the output of the report is displayed on the screen and there is no problem. I have a servlet which does this. The problem is in the second area where in, i need to call this report which returns me a html file and then print the html file on the printer programatically. The problem here would be that, it would print the source code instead of the formatted content. Can u help me out? It would be great if you could kindly send me some ready made code with instructions about how to use it (i.e., the parameters to be passed, etc.). We use Html and servlets.

Thanks,

Krishnan