Epson C823461 (Ethernet) Podręcznik Użytkownika Strona 62

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 81
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 61
Script 1
General interface program file:
NETPRINTER=“basename$0”
copies=$4
shift;shift;shift;shift;shift;
files=“$*”
i=1
while (Si -le $copies)
do
for file in $files
do
echo binary > /tmp/ftp.$$
echo put $file >> /tmp/ftp.$$
echo quit >>/tmp/ftp.$$
/usr/bin/ftp -n SNETPRINTER
c
/tmp/ftp.$$
/bin/rm/tmp/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 -n Sprinter
<<EOF
send $TEMPFILE
quit
EOF
rm $TEMPFILE
exit
5-10 Using UNIX
Przeglądanie stron 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 80 81

Komentarze do niniejszej Instrukcji

Brak uwag