How do i print an ODF file using the java print api framework? i can't seem to find any info on printing odf file using the java print api.
java accept postscript and convert it into doc for printing.
FileInputStream fis = new FileInputStream("example.ps");
Doc doc = new SimpleDoc(fis, psFlavor, null);
pj.print(doc, aset);
how do i do the same for ODF file?