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

case "$QUALITY" in
	high)	RESOLUTION=600x600
		props="resolution=RESOLUTION_600_X_600" ;;
	photo)	RESOLUTION=1200x600
		props="resolution=RESOLUTION_1200_X_600" ;;
	*)	RESOLUTION=300x300
		props="resolution=RESOLUTION_300_X_300" ;;
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 "$MEDIA" in
	plain)		props="$props media=MEDIA_PLAIN" ;;
	coated)		props="$props media=MEDIA_COATED" ;;
	glossy)		props="$props media=MEDIA_GLOSSY" ;;
	premium)	props="$props media=MEDIA_HIGH_GLOSS_FILM" ;;
	trans)		props="$props media=MEDIA_TRANSPARENCY" ;;
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'"
