
A5-10
893-741-B
Printers
echo ”\014\c”
shift;shift;shift;shift;shift
files=”$*”
i=1
while [ $i -le $copies ]
do
for file in $files
do
cat ”$file” 2>&1
echo ”\014\c”
done
i=‘expr $i + 1‘
done
#
# The following 8 lines apply only to aprint
#
# ) | /usr/annex/aprint -A5390_08 -L4 -f
) | sed ’s/$/^M’ | /usr/annex/aprint -A5390_08 -L4 -f
if test $? = 0 # check aprint return code
then
break # good, all done..
fi
sleep 30 # bad, wait a while and try again..
done
exit 0
Integrating rtelnet with the lp Spooler
A host can access a printer attached to the Model 5390 server through a character special file created
using the rtelnet utility. The following example is for a DQP-10 printer using the dqp10 model
interface; in this example, the printer is called s_printer.
1
Create a printer interface script for the type of printer.
2
Shut down the lp scheduler (this disables all printers):
# /usr/lib/lpshut
NOTE:
The rtelnet utility does not run on all versions of System V.
Содержание 5390
Страница 28: ...893 741 B Figures xxviii ...
Страница 44: ...893 741 B Preface xliv ...
Страница 45: ......
Страница 48: ......
Страница 60: ...A1 12 893 741 B Introduction to the Model 5390 Server ...
Страница 106: ...A3 18 893 741 B Configuring Ports ...
Страница 142: ...A5 12 893 741 B Printers ...
Страница 152: ...A6 10 893 741 B Modems ...
Страница 168: ...A7 16 893 741 B Serial Line Internet Protocol SLIP ...
Страница 224: ...A9 38 893 741 B Internetwork Packet Exchange IPX Protocol ...
Страница 258: ...A11 12 893 741 B Dial up Networking ...
Страница 289: ...893 741 B A12 31 Internet Protocol IP Routing that are possible ...
Страница 506: ...A15 86 893 741 B Using Model 5390 Security ...
Страница 507: ......
Страница 508: ... Chapter B1 Network Administration Chapter B2 Simple Network Management Protocol SNMP Part B Network Administration ...
Страница 544: ...B1 36 893 741 B Network Administration ...
Страница 574: ...B2 30 893 741 B Simple Network Management Protocol SNMP ...
Страница 575: ......
Страница 606: ...C1 30 893 741 B na Commands ...
Страница 676: ...C2 70 893 741 B Configuration Parameters ...
Страница 772: ...C3 96 893 741 B Using the CLI Commands ...
Страница 794: ...C5 12 893 741 B Network Protocols ...
Страница 795: ......
Страница 796: ... Appendix D1 Software Reference Part D Appendixes ...