Script 1
General interface program file:
NETPRINTER=“basename$0” copies=$4 shift;shift;shift;shift;shift; files=“$*”
i=1
while (Si
for file in $files
do
echo binary > /tmp/ftp.$$ echo put $file >> /tmp/ftp.$$ echo quit >>/tmp/ftp.$$
/usr/bin/ftp
done
i=‘expr $i+1’ done
exit 0”
*end of script*"
Script 2
The following script should have the same name as the host name you gave the printer.
TEMPFILE=/tmp/ftpprint.SS
printer=‘epsonprt’
/usr/spool/lp/model/standard ‘33” >STEMPFILE ftp
send $TEMPFILE quit
EOF
rm $TEMPFILE exit