# $ApsCVS: src/apsfilter/driver/hpdj/500C,v 1.1 2001/11/17 15:21:55 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|photo)	RESOLUTION=300x300
			GS_FEATURES="$GS_FEATURES -sPrintQuality=1" ;;
esac

case "$COLOR" in
	full)	GS_FEATURES="$GS_FEATURES -sColorMode=CMY" ;;
	*)	GS_FEATURES="$GS_FEATURES -sColorMode=mono" ;;
esac

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