thanks for the replies, how would ant help me here. I did not explain correctly i think.
they have a swing client, the select some criteria thats results in selecting 5 pdfs on the server, I java-ftp them from server to client and store them in tmp dir, then I was going to run "FOP -xml 1.xml -xsl 2.xsl -print" using runtime.exec() they do not want to see a select printer dialog just batch print them using thier windows set default printer. the options I came up with are String adobe = "C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe" /p /h x.pdf" or "FOP -xml 1.xml -xsl 2.xsl -print" and runtime.exec() one of these methods for each pdf i searched and searched and this is all i could find -----Original Message----- From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] Sent: Monday, February 16, 2004 12:20 PM To: [EMAIL PROTECTED] Subject: RE: running "FOP -xml 1.xml -xsl 2.xsl -print" programmatically > -----Original Message----- > From: Glen Mazza [mailto:[EMAIL PROTECTED] > > > 2. Or, for a very simple Java program, click the "This example" > link here: > http://xml.apache.org/fop/embedding.html#ExampleXML2PDF > Say, I was about to point Robert there too, but first wanted to check a bit more on how he would have to adapt the example for Print output... Do you know off the top of your head (correct expression?) whether he could just replace the setRenderer()? (I was under the impression that Print & AWT were the two exceptions in this case; might be mistaken) TIA Andreas --------------------------------------------------------------------- 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]