# $ApsCVS: src/apsfilter/driver/omni/HP_Color_LaserJet,v 1.1.2.2 2001/12/29 17:17:15 andreas Exp $

RESOLUTION=300x300
props="resolution=RESOLUTION_300_X_300"

case "$COLOR" in
	full)	props="$props printmode=PRINT_MODE_24_RGB" ;;
	gray)	props="$props printmode=PRINT_MODE_8_RGB" ;;
	mono)	props="$props printmode=PRINT_MODE_1_ANY" ;;
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" ;;
	tabloid)	props="$props form=FORM_TABLOID" ;;
esac

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