> -----Original Message-----
> From: [EMAIL PROTECTED]
>
> 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
> PRINT
>         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 :) )


Cheers,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to