I have a web app for restaurant order management build using servlet/jsp.
I have a screen which displays orders under different categories like Food,Wine etc..
I want to
1) Take print out of order
2) If possible send print job to different printer depending on categories
First i tried using Java script window.print and a different template for print, but this isnt working that great for me.
Is there any java api/ free reporting framework which can allow this.?
Hope this makes sense..
thanks
You didn’t specify what exactly “wasn’t working that great”. But I would recommend the following:
1) Your .jsp should provide a “Print” link that opens an HTML/CSS/Javascript window containing just the parts you want to print
2) Your web app should have some CSS specifically for “print” media:
3) Here are some additional tips for using Javascript “window.print()”:
I would discourage you from investing time and efford in a “new framework” – this is really just Web Design 101. IMHO…