A print module would have to be a java applet, and I believe (but I very
well may be mistaken) that it would not be able to get the entire graphics
context of the page that the applet is embedded in.  Even if it could, in
order to use the printer the applet would have to be a signed applet, not
really an issue bet something that should be noted.

It may be much more time efficient, though not as elegant as what you are
envisioning, to simply use javascript to bring up the browser's print dialog
when the user presses the print button.

Joseph Karau
Kingland Systems
[EMAIL PROTECTED]
507-536-3629
AIM: jkara3629


-----Original Message-----
From: Agarwal, Shekhar (MED, TCS America)
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2001 12:25 PM
To: [EMAIL PROTECTED]
Subject: PRINT UTILITY PROGRAM


hi
i have print button in a jsp,on clicking the button i want the page to
be printed.its functionality should be same as the print button on the
browser.
i want a program module written in java that can print the current page.
can anyone help me ???
regards

SHEKHAR
SHEKHAR AGARWAL (B.TECH)
Email : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to