wood burning stoves*
The moose likes Servlets and the fly likes How to print reports automatically in a web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to print reports automatically in a web application" Watch "How to print reports automatically in a web application" New topic
Author

How to print reports automatically in a web application

Sophia Choi
Ranch Hand

Joined: Mar 22, 2002
Posts: 106
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.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12675
    
    5
You left out a vital piece of the specification. Where is the printer? Client side or Server side?
Bill
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
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.


Matthew Phillips
Sophia Choi
Ranch Hand

Joined: Mar 22, 2002
Posts: 106
Reports are printed in client side.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12675
    
    5
Server side HTML generation - ie JSP, servlets, beans, can't control a thing on the client side.
Java applet 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
 
wood burning stoves
 
subject: How to print reports automatically in a web application
 
Similar Threads
Print Stylesheet
How to choose a printer attached to the client?.
Client-side printing in JasperReports
Print Problem
how to print in java !!!