Chris Bowditch <[EMAIL PROTECTED]> writes: > Eric Chow wrote: > > > Hello, > > > > I can embedded FOP in my program to produce PDF in runtime(based on the > > instruction). > > > > But, is there any way to directly print out the PDF with FOP api ??? > > If you want to directly print your document from FOP output, then I suggest > you use the Postscript generator instead of PDF. You can then just stream > your > postscript to your printer. > > There is no way to directly print a PDF from java. You can shell out to > Acrobat server to print a PDF, but thats slow and expensive way of doing it.
If you don't have a postscript printer, you could alternatively shell out to ghostscript in order to convert ps/pdf to your printer's native language. Regards, Jon Trauntvein --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
