#!/bin/sh
#
# Copyright by Jae Y. Chung, 1992
#
# file name - pl2ps2xprfax
#
# This script will automatically route interleaf documents into XpressFax
#
echo "pl2ps2xprfax version 1.0"
if [ "$XPRESSFAX_HOME" = "" ]; then
	XPRESSFAX_HOME=/usr/xpressfax
fi

ILEAF_DIR=/interleaf/ileaf5

UTILS_DIR=$XPRESSFAX_HOME/utils
$ILEAF_DIR/bin/pl2ps $1 $2 $3 $4 $5 $6 $7 $8 $9 | $UTILS_DIR/to_faxtransmit

exit 0
