# $ApsCVS: src/apsfilter/driver/bjc600,v 1.1.2.4 2001/12/29 17:17:14 andreas Exp $

case "$QUALITY" in
	draft|low)	RESOLUTION="150x150"
			GS_FEATURES="$GS_FEATURES -sPrintQuality=Draft" ;;
	medium)		RESOLUTION="300x300"
			GS_FEATURES="$GS_FEATURES -sPrintQuality=Normal" ;;
	*)		RESOLUTION="600x600"
			GS_FEATURES="$GS_FEATURES -sPrintQuality=High" ;;
esac

case "$COLOR" in
	full)	GS_FEATURES="$GS_FEATURES -dBitsPerPixel=32 -dColors=4" ;;
	gray)	GS_FEATURES="$GS_FEATURES -dBitsPerPixel=8 -dColors=1" ;;
	mono)	GS_FEATURES="$GS_FEATURES -dBitsPerPixel=1 -dColors=1" ;;
esac

case "$MEDIA" in
	trans)	GS_FEATURES="$GS_FEATURES -sMediaType=TransparencyFilm" ;;
	plain)	GS_FEATURES="$GS_FEATURES -sMediaType=PlainPaper";;
	*)	GS_FEATURES="$GS_FEATURES -sMediaType=CoatedPaper" ;;
esac
