"Fossies" - the Fresh Open Source Software Archive

Member "apsfilter/driver/omni/Brother_M_1824L_Color" (9 Jan 2002, 826 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/omni/Brother_M_1824L_Color,v 1.1.2.1 2002/01/09 21:06:33 andreas Exp $
    2 
    3 case "$QUALITY" in
    4 	draft)	RESOLUTION=90x180
    5 		props="resolution=RESOLUTION_90_X_180" ;;
    6 	low)	RESOLUTION=120x180
    7 		props="resolution=RESOLUTION_120_X_180" ;;
    8 	medium)	RESOLUTION=180x180
    9 		props="resolution=RESOLUTION_180_X_180" ;;
   10 	*)	RESOLUTION=360x180
   11 		props="resolution=RESOLUTION_360_X_180" ;;
   12 esac
   13 
   14 case "$COLOR" in
   15 	full)	props="$props printmode=PRINT_MODE_24_CMYK" ;;
   16 	gray)	props="$props printmode=PRINT_MODE_8_CMYK" ;;
   17 	mono)	props="$props printmode=PRINT_MODE_1_ANY" ;;
   18 esac
   19 
   20 case "$PAPERSIZE" in
   21 	a4)	props="$props form=FORM_A4" ;;
   22 	a3)	props="$props form=FORM_A3" ;;
   23 	letter)	props="$props form=FORM_LETTER" ;;
   24 	legal)	props="$props form=FORM_LEGAL" ;;
   25 esac
   26 
   27 GS_FEATURES="$GS_FEATURES -sproperties='$props'"