NO WAY--*big big big* security hole if you could. (Just imagine, you hit a
porn site while surfing, and your printer starts queuing up all these lists
of other sites to hit.....)
The servlet can, however, render a "printer-friendly" version of the site
for easy printing; a number of online magazines (JavaReport, for one) do
this. Then the user does the usual "File|Print" from the browser's menu.
Ted Neward
Java Instructor, DevelopMentor ( http://www.develop.com )
http://www.javageeks.com/~tneward
-----Original Message-----
From: Terence Kong <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, December 14, 1999 2:46 AM
Subject: Can't servlet print report directly to client's printer
>Dear all,
>
>I would like to ask that when a user viewing a servlet page in his own
>browser and then he want
>to print out a report directly to his local printer. Can't servlet do
>that?
>
>Thanks,
>Terence
>
>___________________________________________________________________________
>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