Thank you, this code works.
greeting harry
Elaxy AG
Harry Grüneis
Gutenbergstr. 5
D- 82178 Puchheim bei München
Tel. +49 (89) 890 130 81 Fax +49 (89) 890 130 89
e-Mail: [EMAIL PROTECTED], Web: http://www.turck.de
-
To
Hello,
i have download the newest version of FOP ( 0_20_1_bin ) and could
not perform a pdf creation. I embedded this code:
FileInputStream file = new FileInputStream( new File( e:\\border.fo ) );
Driver driver = new Driver( new InputSource( file ), out );
driver.setRenderer(
Hi
PDF is a binary format. Don't convert it to a String and don't use
FileWriters. Your code should probably look approximately like this:
FileInputStream file = new FileInputStream( new File( e:\\border.fo ));
OutputStream out = new FileOutputStream(e:\\my.pdf);
try {
Driver driver = new