Epson EPL-N2000 Guide de l'utilisateur Page 66

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 91
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 65
Configuring the EPL-N2000 for UNIX 5-15
3. Enter 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*
Vue de la page 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 90 91

Commentaires sur ces manuels

Pas de commentaire