"Fossies" - the Fresh Open Source Software Archive

Member "apsfilter/driver/gimp/bjc-7000" (27 Oct 2002, 1163 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/bjc-7000,v 1.1.2.1 2002/10/27 22:05:23 andreas Exp $
    2 
    3 case "$QUALITY" in
    4 	draft)	RESOLUTION=300x300
    5 		params="Quality=300x300dpi,InkType=CMYK,ImageType=0,Dither=VeryFast" ;;
    6 	low)	RESOLUTION=300x300
    7 		params="Quality=300x300dpi,InkType=CMYK,ImageType=0,Dither=Fast" ;;
    8 	medium)	RESOLUTION=300x300
    9 		params="Quality=300x300dpi,InkType=CMYK,ImageType=1" ;;
   10 	high)	RESOLUTION=600x600
   11 		params="Quality=600x600dpi,InkType=CMYK,ImageType=1" ;;
   12 	photo)	RESOLUTION=1200x600
   13 		params="Quality=1200x600dpi,InkType=PhotoCMYK,ImageType=2" ;;
   14 esac
   15 
   16 case "$COLOR" in
   17 	full)	GS_FEATURES="$GS_FEATURES -sProcessColorModel=DeviceRGB" ;;
   18 	gray)	GS_FEATURES="$GS_FEATURES -sProcessColorModel=DeviceGray" ;;
   19 	mono)	GS_FEATURES="$GS_FEATURES -sProcessColorModel=DeviceGray -dBitsPerSample=1" ;;
   20 esac
   21 
   22 case "$MEDIA" in
   23 	coated)		params="$params,MediaType=Coated" ;;
   24 	glossy)		params="$params,MediaType=GlossyPaper" ;;
   25 	premium)	params="$params,MediaType=GlossyPro" ;;
   26 	trans)		params="$params,MediaType=Transparency" ;;
   27 	plain)		params="$params,MediaType=Plain" ;;
   28 esac
   29 
   30 GS_FEATURES="$GS_FEATURES -sIjsParams='$params' -sDeviceManufacturer=CANON"