"Fossies" - the Fresh Open Source Software Archive

Member "apsfilter/driver/bjc600" (29 Dec 2001, 787 Bytes) of archive /linux/misc/old/apsfilter-7.2.8.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # $ApsCVS: src/apsfilter/driver/bjc600,v 1.1.2.4 2001/12/29 17:17:14 andreas Exp $
    2 
    3 case "$QUALITY" in
    4 	draft|low)	RESOLUTION="150x150"
    5 			GS_FEATURES="$GS_FEATURES -sPrintQuality=Draft" ;;
    6 	medium)		RESOLUTION="300x300"
    7 			GS_FEATURES="$GS_FEATURES -sPrintQuality=Normal" ;;
    8 	*)		RESOLUTION="600x600"
    9 			GS_FEATURES="$GS_FEATURES -sPrintQuality=High" ;;
   10 esac
   11 
   12 case "$COLOR" in
   13 	full)	GS_FEATURES="$GS_FEATURES -dBitsPerPixel=32 -dColors=4" ;;
   14 	gray)	GS_FEATURES="$GS_FEATURES -dBitsPerPixel=8 -dColors=1" ;;
   15 	mono)	GS_FEATURES="$GS_FEATURES -dBitsPerPixel=1 -dColors=1" ;;
   16 esac
   17 
   18 case "$MEDIA" in
   19 	trans)	GS_FEATURES="$GS_FEATURES -sMediaType=TransparencyFilm" ;;
   20 	plain)	GS_FEATURES="$GS_FEATURES -sMediaType=PlainPaper";;
   21 	*)	GS_FEATURES="$GS_FEATURES -sMediaType=CoatedPaper" ;;
   22 esac