This Java program converts a Word document to a multi-page TIFF file using Qoppa’s library jOfficeConvert.

import com.qoppa.pdf.TIFFOptions;
import com.qoppa.office.WordDocument;
public class WordToTIFF
{
public static void main (String [] args)
{
try
{
// Load the Word document
WordDocument wd = new WordDocument ("input.doc");
// Save the document as a multi-page TIFF file
wd.saveDocumentAsTIFF("output.tif", new TIFFOptions(150, TIFFOptions.TIFF_FAX_GROUP4));
}
catch (Throwable t)
{
t.printStackTrace();
}
}
}