# $ApsCVS: src/apsfilter/driver/omni/Brother_HL_1240,v 1.1.2.2 2001/12/29 17:17:14 andreas Exp $

case "$QUALITY" in
	high|photo)	RESOLUTION=600x600
			props="resolution=RESOLUTION_600_X_600" ;;
	*)		RESOLUTION=300x300
			props="resolution=RESOLUTION_300_X_300" ;;
esac

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

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