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

case "$QUALITY" in
	draft|low)	RESOLUTION=180x180
			props="resolution=RESOLUTION_180_X_180" ;;
	medium)		RESOLUTION=360x360
			props="resolution=RESOLUTION_360_X_360" ;;
	high|photo)	RESOLUTION=720x720
			props="resolution=RESOLUTION_720_X_720" ;;
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" ;;
	a3)	props="$props form=FORM_A3" ;;
	letter)	props="$props form=FORM_LETTER" ;;
	legal)	props="$props form=FORM_LEGAL" ;;
esac

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