#! /bin/sh
#	@(#)ph.daps	13.1	(RC International)	91/02/02
# lp interface to Autologic APS-5 phototypesetter.
#	output is passed through filter daps, which is also a
#	command.

logname=$2
shift;shift;shift;shift
while [ $copies -gt 0 ]
do
	if daps -h$logname $*
	then
		copies=`expr $copies - 1`
	else
		exit $?
	fi
done
exit 0
