# $ApsCVS: src/apsfilter/driver/pcl3/hpdj600,v 1.1 2001/11/17 15:21:59 andreas Exp $

case "$QUALITY" in
	draft)	RESOLUTION=150x150
		GS_FEATURES="$GS_FEATURES -sPrintQuality=-1" ;;
	low)	RESOLUTION=150x150
		GS_FEATURES="$GS_FEATURES -sPrintQuality=0" ;;
	medium)	RESOLUTION=300x300
		GS_FEATURES="$GS_FEATURES -sPrintQuality=0" ;;
	high)	if [ "$COLOR" = full ]; then
			RESOLUTION=300x300
			GS_FEATURES="$GS_FEATURES -sPrintQuality=1"
		else
			RESOLUTION=600x600
			GS_FEATURES="$GS_FEATURES -sPrintQuality=0"
		fi ;;
	photo)	if [ "$COLOR" = full ]; then
			RESOLUTION=300x300
		else
			RESOLUTION=600x600
		fi
		GS_FEATURES="$GS_FEATURES -sPrintQuality=1" ;;
esac

case "$COLOR" in
	full)	GS_FEATURES="$GS_FEATURES -sColorModel=CMY" ;;
	*)	GS_FEATURES="$GS_FEATURES -sColorModel=Gray" ;;
esac

case "$MEDIA" in
	coated)		GS_FEATURES="$GS_FEATURES -sMedium=1" ;;
	premium)	GS_FEATURES="$GS_FEATURES -sMedium=2" ;;
	glossy)		GS_FEATURES="$GS_FEATURES -sMedium=3" ;;
	trans)		GS_FEATURES="$GS_FEATURES -sMedium=4" ;;
	plain)		GS_FEATURES="$GS_FEATURES -sMedium=0" ;;
esac
