aspose file tools
The moose likes Java in General and the fly likes Printing to Printer from JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Printing to Printer from JSP" Watch "Printing to Printer from JSP" New topic
Author

Printing to Printer from JSP

Baseet Ahmed
Ranch Hand

Joined: Dec 18, 2006
Posts: 223
All,
I want to know that,
how can we do the printing from JSP with following requirement:

Our application maintains n number of data(e.g 50 pages),we to take the printout of those 50 pages on single click,but the data will not be displayed on JSP,only the description of data and Print will be displayed.
The user will click on Print button,and it should do the needful.

One more thing:Will Jasper reporting plays any role in the this?

I tried with javascript's print function,but it prints entire screen.with menu header and buttons.

Please revert.


Thank you.

Regards
Baseet Ahmed

There is a substitute for Papers,but none for Trees.Save Trees.
Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
Do you want to do printing on the client machine - the one that is running the Web browser?

If so, it's not a Java question and you likely won't get an answer in this forum. It's an HTML/JavaScript question. Hopefully, you are aware that, despite the similar names, Java and JavaScript are totally different.


Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.<br /> <br />#:^P
Baseet Ahmed
Ranch Hand

Joined: Dec 18, 2006
Posts: 223
I know both are different.

I want to know the printing using Jasper if possible.

Thank you

regards
Baseet Ahmed
Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
You still haven't answered the question. Where do you expect the printing to occur - the client machine, or the server?
 
I agree. Here's the link: http://jrebel.com/download
 
subject: Printing to Printer from JSP
 
Similar Threads
Printer friendly option from JSP
hide xml data
is there any guide lines for this problem ?
How to print total page including css background?
Printer friendly option in javascript