Salaam,
We are having one
Java program which uses Java Print API, in addition to Jasper's iReport api for generating reports and printing it.
The program is called through
Servlet while user clicks on the link.
This works fine, if we have installed Printer at Server side.
But, the question is how do we make it possible to do the printing at Client's Printer.
Have came to know about window.print(Javascript). But the problem is that,we dont want to print entire page.
We just want to print particular data (which we are storing in ArraList object).
Since, the data is confidential, we don't want to show it on browser also( either on load or on popup windows).
Anyone, can help to achieve the same ?
We have used the following stuff:
Java Print Service API (
javax.print.*)
Jasper Reports API (
net.sf.jasperreports.*)
---------------------
Regards
Baseet Ahmed
I am Momin InshaAllah ---------------------