# $ApsCVS: src/apsfilter/driver/omni/HP_LaserJet_5000,v 1.1.2.3 2002/01/09 21:06:34 andreas Exp $

case "$QUALITY" in
	draft)	RESOLUTION=75x75
		props="resolution=RESOLUTION_75_X_75" ;;
	low)	RESOLUTION=150x150
		props="resolution=RESOLUTION_150_X_150" ;;
	medium)	RESOLUTION=300x300
		props="resolution=RESOLUTION_300_X_300" ;;
	*)	RESOLUTION=600x600
		props="resolution=RESOLUTION_600_X_600" ;;
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'"
