Hello:

I have made a simple function to test fop:

void print(String file){
    try{
        Driver driver = new Driver();
        driver.setInputSource(new InputSource(file));
        driver.setRenderer(Driver.RENDER_PDF);
        driver.run();
    }catch(Exception e){
        e.printStackTrace(System.out);
    }
}

It works but I would like to render to the printer (RENDER_PRINT), but I
haven't seen any samples for this anywhere. Could somebody show me how to do
this?

Faw



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

Reply via email to