Epson 850N Printer User Manual


 
Using the Ethernet Card
6-22
2. Create a model script. For example, type:
vi/usr/spool/lp/model/lan.model
3. Type 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*
Using Novell NetWare Modes
You can use the card in one of three modes under Novell
NetWare: Print Server mode, Remote Printer mode, or Auto
Print Server/Remote Printer mode. This section offers an
explanation of how these modes work. Setup for each of these
modes is covered in the Setup Guide.
basket-6.fm Page 22 Wednesday, May 13, 1998 4:37 PM