FOP has PDF generation capabilities but FOP cannot print PDF files (you need a different tool for that). However, if it's only about printing the generated document (I say document here, not PDF, because PDF is just one possible output format of FOP), you can also use the "PrintRenderer" which doesn't generate a PDF but uses Java2D/AWT to print the document using Java's printing capabilities.
On the FOP command-line, this is the "-print" parameter. For embedded use, have a look at: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleFO2OldStylePrint.java?view=markup Note to self and fop-devs: Since we're now on Java 1.4 we can/should eventually switch over to using JPS. On 25.01.2008 08:54:40 Muralidhar_YARAGALLA wrote: > Hi I know with fop we can generate PDF documents but can we print them > programatically without user intervention. I need to fetch the pdf files > from a folder and i have to send them for printing. no pop up and no user > intervention should be there. It should happen silently in the background. > Can I do this fop. > > Thanks And Regards, > Muralidhar Yaragalla. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
