Bay Networks 5390 Administering page 139

Communications server
Hide thumbs Also See for 5390:
Table of Contents

Advertisement

#
# lp interface for line printers
#
# SCCS @(#) lp 1.2
#Change the next two lines to direct output to the correct place.
#ANNEXLINE is port number to use, 0=serial printer
ANNEX=5390_01
ANNEXLINE=1
#Change this line if your Annex software is installed in a
#different directory
PATH=$PATH: /usr/annex
export PATH
#
TEMPFILE=/usr/spool/TMP.$$
# This will be executed when a request is cancelled
trap "echo '\n\n\n\nRequest Cancelled';\
echo '\-14\c';\
sleep 30;\
exit 0" 15
#
#The following three lines are added for aprint...
while true #loop until aprint is successful
do
(
x="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
echo "\014\c"
echo "$x$x\n$x$x\n$x$x\n"
banner "$2"
echo "\n"
user='grep "^$2:" /etc/passwd | line | cut -d: -f51'
if [ -n "$user" ]
then
echo "User: $user\n"
else
echo "\n"
fi
echo "Request id: $1 Printer: 'basename $0'\n"
date
echo "\n"
if [ -n "$3" ]
then
banner $3
fi
copies=$4
893-741-B
Printers
A5-9

Advertisement

Table of Contents
loading

Table of Contents