"Fossies" - the Fresh Open Source Software Archive

Member "apsfilter/driver/gimp/lexmark-4076" (27 Oct 2002, 997 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/gimp/lexmark-4076,v 1.1.2.1 2002/10/27 22:05:23 andreas Exp $
    2 
    3 case "$QUALITY" in
    4 	draft)	RESOLUTION=150x150
    5 		params="Quality=150dpi,ImageType=0,Dither=VeryFast" ;;
    6 	low)	RESOLUTION=150x150
    7 		params="Quality=150dpi,ImageType=0,Dither=Fast" ;;
    8 	medium)	RESOLUTION=300x300
    9 		params="Quality=300dpi,ImageType=1" ;;
   10 	*)	RESOLUTION=300x300
   11 		params="Quality=300dpi,ImageType=2" ;;
   12 esac
   13 
   14 case "$COLOR" in
   15 	full)	GS_FEATURES="$GS_FEATURES -sProcessColorModel=DeviceRGB" ;;
   16 	gray)	GS_FEATURES="$GS_FEATURES -sProcessColorModel=DeviceGray" ;;
   17 	mono)	GS_FEATURES="$GS_FEATURES -sProcessColorModel=DeviceGray -dBitsPerSample=1" ;;
   18 esac
   19 
   20 case "$MEDIA" in
   21 	coated)		params="$params,MediaType=Bond" ;;
   22 	glossy)		params="$params,MediaType=Glossy" ;;
   23 	premium)	params="$params,MediaType=Premium" ;;
   24 	trans)		params="$params,MediaType=Transparency" ;;
   25 	plain)		params="$params,MediaType=Plain" ;;
   26 esac
   27 
   28 GS_FEATURES="$GS_FEATURES -sIjsParams='$params' -sDeviceManufacturer=LEXMARK"