Which part of a web application take responsibility to print reports to a printer automatically after processing data from database ? Is it doing in JSP , servlet or beans? How to do it ? How to assign a printer ? Thanks a lot.
choisn, Javaranch has a naming policy which is strictly enforced. Please read the policy and change your display name if you wish to continue posting here. Thanks.
Joined: Mar 22, 2002
Reports are printed in client side.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Server side HTML generation - ie JSP, servlets, beans, can't control a thing on the client side. Javaapplet security is specifically set up to prevent what you are trying to do under normal circumstances. You will have to have a client side application - either a stand alone application or a signed applet. Bill
subject: How to print reports automatically in a web application