--- [EMAIL PROTECTED] wrote: > > I already have an applet on the client side which > uses PrinterJob class to > popup the printer selection box on client side. > > Now how do I redirect the content from server to > this printer? >
I don't think you can, because of applet sandbox rules. They just can't wander over to other machines, including printers. But I may be incorrect here. > Should I use Driver.RENDER_PRINT / Driver.RENDER_PCL > set in the fop driver > renderer ? No, those are non-PDF devices. One is Java2D, the other is HP printer control language. > and what content type should the response > object return? > > Thanks > Manoj > > PS: I have successfully use the FopPrinter example ( > FopPrintServlet ) to > print pdfs on the app servers default printer but > what I need is to be able > to print on the clients default printer and not on > servers printer. > This issue has come up in the past, and (I believe) the normal suggestion is to change your requirements. Isn't it strange to go to a website and have something automatically print out of your printer? Glen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]