# $ApsCVS: src/apsfilter/driver/pips/sc70s,v 1.1.2.1 2002/02/24 20:47:51 andreas Exp $

POST_FILTER=pips-sc70s
POST_FILTER_OPTS="$POST_FILTER_OPTS -ui C"

case "$MEDIA" in
	plain)
		POST_FILTER_OPTS="$POST_FILTER_OPTS -mt PLAIN"
		case "$QUALITY" in
			draft)	RESOLUTION=180x180
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 180 -ql DRAFT" ;;
			low)	RESOLUTION=360x360
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 360 -ql STD" ;;
			medium)	RESOLUTION=360x360
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 360 -ql FINE" ;;
			high)	RESOLUTION=720x720
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 720 -ql SFINE" ;;
			photo)	RESOLUTION=720x720
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 720 -ql PHOTO" ;;
		esac ;;
	coated)
		POST_FILTER_OPTS="$POST_FILTER_OPTS -mt SFINE"
		case "$QUALITY" in
			draft)	RESOLUTION=360x360
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 360 -ql FINE" ;;
			low)	RESOLUTION=720x720
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 720 -ql FINE" ;;
			medium)	RESOLUTION=360x360
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 360 -ql SFINE" ;;
			high)	RESOLUTION=720x720
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 720 -ql SFINE" ;;
			photo)	RESOLUTION=720x720
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 720 -ql PHOTO" ;;
		esac ;;
	glossy)
		POST_FILTER_OPTS="$POST_FILTER_OPTS -mt PSGLOS"
		case "$QUALITY" in
			medium)	RESOLUTION=720x720
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 720 -ql SFINE" ;;
			high)	RESOLUTION=720x720
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 720 -ql PHOTO" ;;
			photo)	RESOLUTION=720x720
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 720 -ql SPHOTO" ;;
			*)	RESOLUTION=360x360
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 360 -ql SFINE" ;;
		esac ;;
	premium)
		POST_FILTER_OPTS="$POST_FILTER_OPTS -mt PMPHOTO"
		case "$QUALITY" in
			draft|low)
				RESOLUTION=360x360
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 360 -ql SFINE" ;;
			medium)
				RESOLUTION=720x720
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 720 -ql SFINE" ;;
			high|photo)
				RESOLUTION=720x720
				POST_FILTER_OPTS="$POST_FILTER_OPTS -re 720 -ql PHOTO" ;;
		esac ;;
	trans)
		RESOLUTION=360x360
		POST_FILTER_OPTS="$POST_FILTER_OPTS -re 360 -mt OHP -ql FINE" ;;
esac

case "$COLOR" in
	full)	PRINTER=png16m
		POST_FILTER_OPTS="$POST_FILTER_OPTS -in COLOR" ;;
	gray)	PRINTER=pnggray
		POST_FILTER_OPTS="$POST_FILTER_OPTS -in MONO" ;;
	mono)	PRINTER=pngmono
		POST_FILTER_OPTS="$POST_FILTER_OPTS -in MONO" ;;
esac

case "$PAPERSIZE" in
	a4)	POST_FILTER_OPTS="$POST_FILTER_OPTS -ms A4" ;;
	letter)	POST_FILTER_OPTS="$POST_FILTER_OPTS -ms LT" ;;
	legal)	POST_FILTER_OPTS="$POST_FILTER_OPTS -ms LGL" ;;
esac
