monitor.setTotalSteps(13 + fax.documents.size() * 10);
HylaFAXClient client = JHylaFAX.getInstance().getConnection(monitor);
monitor.work(1);
client.mode(HylaFAXClient.MODE_STREAM);
client.type(HylaFAXClient.TYPE_IMAGE);
String serverCoverFilename = null;
if (fax.cover != null && fax.coverIn != null) {
monitor.setText(i18n.tr("Generating cover"));