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

case "$QUALITY" in
	draft)	RESOLUTION=90x90
		props="resolution=RESOLUTION_90_X_90" ;;
	low)	RESOLUTION=180x180
		props="resolution=RESOLUTION_180_X_180" ;;
	*)	RESOLUTION=360x360
		props="resolution=RESOLUTION_360_X_360" ;;
esac

case "$MEDIA" in
	plain)	props="$props media=MEDIA_PLAIN" ;;
	trans)	props="$props media=MEDIA_TRANSPARENCY" ;;
	*)	props="$props media=MEDIA_COATED" ;;
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'"
