Epson C823461 (Ethernet) Guía de usuario Pagina 62

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 81
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 80 81

Comentarios a estos manuales

Sin comentarios