# $ApsCVS: src/apsfilter/driver/ijs/DESKJET_825,v 1.1.2.5 2002/11/09 16:54:26 andreas Exp $

PRINTER="$(echo $PRINTER | sed 's/_/ /g')"

case "$COLOR" in
	full)	case "$QUALITY" in
			draft)	RESOLUTION=300x300
				params="Quality:Quality=1,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=1" ;;
			low)	RESOLUTION=300x300
				params="Quality:Quality=1,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2" ;;
			medium)	RESOLUTION=300x300
				params="Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=1" ;;
			high)	RESOLUTION=600x600
				params="Quality:Quality=2,Quality:ColorMode=2,Quality:MediaType=2,Quality:PenSet=1" ;;
			photo)	RESOLUTION=600x600
				params="Quality:Quality=2,Quality:ColorMode=2,Quality:MediaType=2,Quality:PenSet=2" ;;
		esac ;;
	*)	case "$QUALITY" in
			draft|low)	RESOLUTION=300x300
					params="Quality:Quality=1,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=1" ;;
			medium)		RESOLUTION=300x300
					params="Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=1" ;;
			*)		RESOLUTION=600x600
					params="Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=1" ;;
		esac ;;
esac

GS_FEATURES="$GS_FEATURES -sIjsParams='$params' -sDeviceManufacturer=HEWLETT-PACKARD"
