Epson EPL-N2000 Network Administrator's Manual page 66

Epson epl-n2000: network guide
Hide thumbs Also See for EPL-N2000:
Table of Contents

Advertisement

3. Enter the following:
MODEL='basename $0'
REALMODEL='echo $0 /sed -e "s%$MODEL %model.lan/
$MODEL%"'
#This variable may be initialized when the script is
installed in the spooler.
PERIPH= if ("$PERIPH"="")
then
PERIPH=$MODEL
fi
#Path for output of the original model
TMPPATH=/tmp/$MODEL.data
#Invoke original model and write to temporary file
$REALMODEL "$@"TMPPATH
#Log onto peripheral, switch to binary, and send the
temporary file
( echo user xx
echo binary
echo put $TMPPATH
echo bye
) ftp -i -n $PERIPH
ERRSTAT=$?
/bin/rm $TMPPATH
exit $ERRSTAT
*End of Script*
Configuring the EPL-N2000 for UNIX 5-15

Advertisement

Table of Contents
loading

Table of Contents