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

case "$QUALITY" in
	draft|low)	RESOLUTION=360x360
			props="resolution=RESOLUTION_360_X_360" ;;
	medium)		RESOLUTION=720x720
			props="resolution=RESOLUTION_720_X_720" ;;
	high)		RESOLUTION=1440x720
			props="resolution=RESOLUTION_1440_X_720" ;;
	photo)		RESOLUTION=2880x720
			props="resolution=RESOLUTION_2880_X_720" ;;
esac

case "$COLOR" in
	full)	props="$props printmode=PRINT_MODE_24_CcMmYK" ;;
	gray)	props="$props printmode=PRINT_MODE_8_CcMmYK" ;;
	mono)	props="$props printmode=PRINT_MODE_1_ANY" ;;
esac

case "$PAPERSIZE" in
	a4)	props="$props form=FORM_A4" ;;
	letter)	props="$props form=FORM_LETTER" ;;
	legal)	props="$props form=FORM_LEGAL" ;;
esac

case "$MEDIA" in
	plain)	props="$props media=MEDIA_PLAIN" ;;
	coated)	props="$props media=MEDIA_SPECIAL_360" ;;
	*)	props="$props media=MEDIA_SPECIAL_720" ;;
esac

GS_FEATURES="$GS_FEATURES -sproperties='$props'"
