# $ApsCVS: src/apsfilter/driver/omni/Epson_Stylus_Photo_870,v 1.1.2.1 2002/01/09 21:06:33 andreas Exp $

case "$QUALITY" in
	high)	RESOLUTION=720x720
		props="resolution=RESOLUTION_720_X_720" ;;
	photo)	RESOLUTION=1440x720
		props="resolution=RESOLUTION_1440_X_720" ;;
	*)	RESOLUTION=360x360
		props="resolution=RESOLUTION_360_X_360" ;;
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'"
