Re: Printing PDF on the client default printer.
--- [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]
Re: XPath 2.0 XSLT 2.0
That's not true. FOP really doesn't care about XPath or XSLT. Maybe that didn't come out well enough. All you have to find is a way to send XSL-FO as SAX events to FOP's Driver class. How you do this (XSLT 1 or XSLT 2 or by hand or whatever) is utterly irrevevant. If you think that these tricks are unsuitable for a production enviroment, that may be (though I don't think so), but it has nothing to do with FOP. On 21.10.2004 10:45:37 MIDON ALEXIS wrote: To put in a nutsell, I would say that XPath 2.0 XSLT 2.0 are not supported. All these tricks are quite unsuitable for a production environment. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Printing PDF on the client default printer.
Hi...I have exactly the same requirements. Where by this is not a website, but some web application that should print something as fast as it can and many times a day. If we manage not to reopen Acrobat Reader each time, we save time for our users. If you find any solution, please post it on the list. Thanks, Vojko On Thu, 2004-10-21 at 00:29, [EMAIL PROTECTED] wrote: My requirement is to render an XML as a PDF and then print the PDF on the clients default printer. I dont want the PDF to prompt user to open the acrobat reader. 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? Should I use Driver.RENDER_PRINT / Driver.RENDER_PCL set in the fop driver renderer ? 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. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Embedding Tiff in FOP
Arul wrote: Hello, I am using XSL-fo and producing PDF output using FOP. In the XSL:Fo, I have used fo:external-graphic src=C:\tiff\output.tif Like this I have used many tiff images in XSL:FO document. Here I got the PDF file. But After creating the PDF. I am not able to delete the output.tif using delete() command from JAVA program. Please help me.. Sounds like the file is held open by the TIFF reader. Try to clear the image cache before deleting the file. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]