Quote:
|
Originally Posted by mike.whay
Hi
I have a .JSP program whixch generates on screen a report, this is called from a button on another screen. Works fine but what I would ideally like is for the report to be printed straight away to the default printerrather than having to show it on screen and then use IE print fucntionality
Thanks
Mike
|
I think adding JavaScript to your page would be the best solution. Messing with the Java printing API's is probably overkill. Use this javascript function:
Let me know if does/doesn't work.