FOP Driver Configuration same as FOPFactory
I am currently using FOP embedded using Driver as follows Driver driver = new Driver(); driver.setRenderer(Driver.RENDER_PDF); driver.setInputSource(new InputSource(new FileInputStream(tempout))); File tempFile = File.createTempFile("W2P", ".pdf"); FileOutputStream pdfOutput = new FileOutputStream(tempFile); tempFile.deleteOnExit(); driver.setOutputStream(pdfOutput); driver.run(); but i would like to have access to configuration settings programatically specifically the output resolution as I have to produce multiple resolution files 72dpi 150dpi 300dpi the only way i can find of doing that is