# $ApsCVS: src/apsfilter/driver/omni/Brother_M_1909_Color,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 "$COLOR" in
	full)	props="$props printmode=PRINT_MODE_24_CMYK" ;;
	gray)	props="$props printmode=PRINT_MODE_8_CMYK" ;;
	mono)	props="$props printmode=PRINT_MODE_1_ANY" ;;
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" ;;
	ledger)	props="$props form=FORM_LEDGER" ;;
esac

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