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

case "$QUALITY" in
	draft)	RESOLUTION=72x72
		props="resolution=RESOLUTION_72_X_72" ;;
	low)	RESOLUTION=90x72
		props="resolution=RESOLUTION_90_X_72" ;;
	medium)	RESOLUTION=120x72
		props="resolution=RESOLUTION_120_X_72" ;;
	*)	RESOLUTION=240x72
		props="resolution=RESOLUTION_240_X_72" ;;
esac

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

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