I completly agree with the following. "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)"
But I also have to print the document after generating. For Example I had generated a PDF paged document and I also need to print it without user intervention. I am looking at the example given by you. will get back if any problem. Thanks And Regards, Muralidhar Yaragalla. Extranet [EMAIL PROTECTED] 01/25/2008 02:06 PM Please respond to fop-users@xmlgraphics.apache.org To fop-users cc Subject Re: Printing issue 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] This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. Do not print this message unless it is necessary, consider the environment. --------------------------------------------- Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. N'imprimez ce message que si necessaire, pensez a l'environnement.