xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas L. Delmelle" <a_l.delme...@pandora.be>
Subject RE: running "FOP -xml 1.xml -xsl 2.xsl -print" programmatically
Date Mon, 16 Feb 2004 18:27:18 GMT
> -----Original Message-----
> From: Robert.Walker@VerizonWireless.com
> andreas, that was a good idea, but it is not supported
<snip />
> driver.setRenderer(Driver.RENDER_PRINT);
> but get a exception thrown from Driver class
> java.lang.IllegalArgumentException: Use renderer form of setRenderer() for
>         at org.apache.fop.apps.Driver.setRenderer(Driver.java:353)
>         at ExampleXML2PDF.convertXML2PDF(ExampleXML2PDF.java:105)
>         at ExampleXML2PDF.main(ExampleXML2PDF.java:157)
> I don't think there is a way to print from the current jvm
> (without using the runtime.exec())  :-(

Hi Robert,

Thought as much... good news is, you can have a look at FOP's own
fop.apps.PrintStarter to get the idea of how to do it in Java. (the example
seems to be part of FOP's core in this case :) )



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

View raw message