Epson EPL-N2000 User Manual - Network Administration - Page 61
Script 1, The following script is a general interface program file
View all Epson EPL-N2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 61 highlights
Script 1 The following script is a general interface program file: NETPRINTER="basename $0" copies=$4 shift;shift;shift;shift;shift; files="$*" i=1 while ($i -le $copies) do for files in $files do echo binary > /tmp/ftp.$$ echo put $file >> /tmp/ftp.$$ echo quit >> /tmp/ftp.$$ /usr/bin/ftp -n $NETPRINTER < /tmp/ftp.$$ /bin/rm /tmp/ftp.$$ done i='expr $i+ 1' done exit 0" *end of script*" 5-10 Configuring the EPL-N2000 for UNIX
5-10
Configuring the EPL-N2000 for UNIX
Script 1
The following script is a general interface program file:
NETPRINTER=”basename $0”
copies=$4
shift;shift;shift;shift;shift;
files=”$*”
i=1
while ($i -le $copies)
do
for files in $files
do
echo binary > /tmp/ftp.$$
echo put $file >> /tmp/ftp.$$
echo quit >> /tmp/ftp.$$
/usr/bin/ftp -n $NETPRINTER < /tmp/ftp.$$
/bin/rm /tmp/ftp.$$
done
i=’expr $i+ 1’
done
exit 0”
*end of script*”