"Fossies" - the Fresh Open Source Software Archive

Member "apsfilter/driver/stp/escp2-1520" (17 Nov 2001, 1246 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/stp/escp2-1520,v 1.1 2001/11/17 15:22:01 andreas Exp $
    2 
    3 case "$QUALITY" in
    4 	draft)	RESOLUTION=180x180
    5 		GS_FEATURES="$GS_FEATURES -sQuality=180dpi -dImageType=0 -sDither=VeryFast" ;;
    6 	low)	RESOLUTION=360x180
    7 		GS_FEATURES="$GS_FEATURES -sQuality=360x180dpi -dImageType=0 -sDither=Fast" ;;
    8 	medium)	RESOLUTION=360x360
    9 		[ "$SWEEP" = uni ] && sweep=uni || sweep=
   10 		GS_FEATURES="$GS_FEATURES -sQuality=360mw$sweep -dImageType=1" ;;
   11 	high)	RESOLUTION=720x720
   12 		[ "$SWEEP" = uni ] && sweep=uni || sweep=
   13 		GS_FEATURES="$GS_FEATURES -sQuality=720sw$sweep -dImageType=1" ;;
   14 	photo)	RESOLUTION=1440x720
   15 		[ "$SWEEP" = uni ] && sweep=uni || sweep=sw
   16 		GS_FEATURES="$GS_FEATURES -sQuality=1440x720sw$sweep -dImageType=2" ;;
   17 esac
   18 
   19 case "$COLOR" in
   20 	full)	GS_FEATURES="$GS_FEATURES -dColor=1" ;;
   21 	gray)	GS_FEATURES="$GS_FEATURES -dColor=0" ;;
   22 	mono)	GS_FEATURES="$GS_FEATURES -dColor=2" ;;
   23 esac
   24 
   25 case "$MEDIA" in
   26 	coated)		GS_FEATURES="$GS_FEATURES -sMediaType=Coated" ;;
   27 	glossy)		GS_FEATURES="$GS_FEATURES -sMediaType=GlossyPaper" ;;
   28 	premium)	GS_FEATURES="$GS_FEATURES -sMediaType=GlossyPhoto" ;;
   29 	trans)		GS_FEATURES="$GS_FEATURES -sMediaType=Transparency" ;;
   30 	plain)		GS_FEATURES="$GS_FEATURES -sMediaType=Plain" ;;
   31 esac