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

case "$QUALITY" in
	draft|low)	RESOLUTION=180x180
			props="resolution=RESOLUTION_180_X_180" ;;
	medium)		RESOLUTION=360x180
			props="resolution=RESOLUTION_360_X_180" ;;
	high|photo)	RESOLUTION=360x360
			props="resolution=RESOLUTION_360_X_360" ;;
esac

case "$COLOR" in
	full)	props="$props printmode=PRINT_MODE_24_CMY" ;;
	gray)	props="$props printmode=PRINT_MODE_8_CMY" ;;
	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'"
