tmp=/tmp/lph$$; touch $tmp
trap "/bin/rm $tmp; exit" 1 2 3 15
for a
do	type="`file $a`"
	case "$type" in
	*text*) /usr/cct/mg/bin/bann `basename $a|tr a-z A-Z`|tr '#' '@'>>$tmp
		case $a in /*) pre=;; *) pre=`pwd`/;; esac
		echo "$pre$a printed `date` for $USER@`hostname`">>$tmp; echo ''>>$tmp
		sed 's/^/	/' $a>>$tmp
		/usr/cct/mg/bin/binecho '\014\c'>>$tmp
		;;
	     *) echo "lph: $type"1>&2
		;;
	esac
done
lpl -h -r -s $tmp
exit
SYNOPSIS lph file ...
Prints the named file on the local lineprinter
with the filename in large friendly letters at the top.
mg jan 84
