how can ur servlet have "button" ? if u r talking of client's button then
using signedApplets with java plugin.
or using javascript with html.
In both cases u do not need client's printer's info.
We are using signed Applets for printing.
hope this helps..
komal.
> > Is it possible to obtain information about a client's printer setup
> > from the browser that a servlet is running in and then
> create a method
> > and button that will actually print to that printer from a servlet.
> >
> > In other words, I would like to have a button in my
> servlet that once
> > pressed will print the current page on the client's printer...
> >
> > Is it possible?
>
> One option you can try is to create PDF output from your servlet
> and then send
> it to the browser. Two PDF API that I know of are available
>
> 1) http://www.retep.org.uk/pdf/
> 2) http://www.etymon.com
>
> A report writer available that does this
>
http://www.inetsoftcorp.com/
___________________________________________________________________________
S.Ramaswamy
Matrix Infotech Syndicate
D-7, Poorti, Vikaspuri, New Delhi, 110018, India
PHONE: +91-11-5610050, FAX: +91-11-5535103
WEB : http://MatrixInfotech.HyperMart.Net
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html