xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert.Wal...@VerizonWireless.com
Subject RE: running "FOP -xml 1.xml -xsl 2.xsl -print" programmatically
Date Mon, 16 Feb 2004 17:39:25 GMT
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:a_l.delmelle@pandora.be]
Sent: Monday, February 16, 2004 12:20 PM
To: fop-user@xml.apache.org
Subject: RE: running "FOP -xml 1.xml -xsl 2.xsl -print" programmatically


> -----Original Message-----
> From: Glen Mazza [mailto:grm7793@yahoo.com]
>
>
> 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: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message