| 1 |
# $ApsCVS: src/apsfilter/driver/gimp/escp2-600,v 1.1.2.1 2002/10/27 22:05:23 andreas Exp $ |
| 2 |
|
| 3 |
case "$QUALITY" in |
| 4 |
draft) RESOLUTION=360x90 |
| 5 |
params="Quality=360x90dpi,ImageType=0,Dither=VeryFast" ;; |
| 6 |
low) RESOLUTION=180x180 |
| 7 |
params="Quality=180dpi,ImageType=0,Dither=Fast" ;; |
| 8 |
medium) RESOLUTION=360x360 |
| 9 |
[ "$SWEEP" = uni ] && sweep=uni || sweep= |
| 10 |
params="Quality=360mw$sweep,ImageType=1" ;; |
| 11 |
high) RESOLUTION=720x720 |
| 12 |
[ "$SWEEP" = uni ] && sweep=uni || sweep= |
| 13 |
params="Quality=720sw$sweep,ImageType=1" ;; |
| 14 |
photo) RESOLUTION=1440x720 |
| 15 |
[ "$SWEEP" = uni ] && sweep=uni || sweep= |
| 16 |
params="Quality=1440x720sw$sweep,ImageType=2" ;; |
| 17 |
esac |
| 18 |
|
| 19 |
case "$COLOR" in |
| 20 |
full) GS_FEATURES="$GS_FEATURES -sProcessColorModel=DeviceRGB" ;; |
| 21 |
gray) GS_FEATURES="$GS_FEATURES -sProcessColorModel=DeviceGray" ;; |
| 22 |
mono) GS_FEATURES="$GS_FEATURES -sProcessColorModel=DeviceGray -dBitsPerSample=1" ;; |
| 23 |
esac |
| 24 |
|
| 25 |
case "$MEDIA" in |
| 26 |
coated) params="$params,MediaType=Coated" ;; |
| 27 |
glossy) params="$params,MediaType=GlossyPaper" ;; |
| 28 |
premium) params="$params,MediaType=GlossyPhoto" ;; |
| 29 |
trans) params="$params,MediaType=Transparency" ;; |
| 30 |
plain) params="$params,MediaType=Plain" ;; |
| 31 |
esac |
| 32 |
|
| 33 |
GS_FEATURES="$GS_FEATURES -sIjsParams='$params' -sDeviceManufacturer=EPSON" |