Epson Stylus COLOR 850N User Manual - Page 124

Using Novell NetWare Modes

Page 124 highlights

Using the Ethernet Card 2. Create a model script. For example, type: vi/usr/spool/lp/model/lan.model 3. Type 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* Using Novell NetWare Modes You can use the card in one of three modes under Novell NetWare: Print Server mode, Remote Printer mode, or Auto Print Server/Remote Printer mode. This section offers an explanation of how these modes work. Setup for each of these modes is covered in the Setup Guide. 6-22

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179

Using the Ethernet Card
6-22
2.
Create a model script. For example, type:
vi/usr/spool/lp/model/lan.model
3.
Type 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*
Using Novell NetWare Modes
You can use the card in one of three modes under Novell
NetWare: Print Server mode, Remote Printer mode, or Auto
Print Server/Remote Printer mode. This section offers an
explanation of how these modes work. Setup for each of these
modes is covered in the
Setup Guide
.