
# lp interface for dumb serial line printer server (pass-through)
#
#	not SCCS @(#)dumb_Server	0.0

copies=$4
options=$5
raw=$6
shift; shift; shift; shift; shift
if [ "$1" = "-raw" ]
then
	stty -opost ixon <&1
	shift
else
	stty -tabs ixon <&1
fi
files="$*"
i=1
while [ $i -le $copies ]
do
	for file in $files
	do
		cat "$file" 2>&1
	done
	i=`expr $i + 1`
done
echo "\033E\c"
exit 0
