/usr/share/apsfilter/driver/gimp/escp2-pro is in apsfilter 7.2.6-1.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | # $ApsCVS: src/apsfilter/driver/gimp/escp2-pro,v 1.1.2.1 2002/10/27 22:05:23 andreas Exp $
case "$QUALITY" in
draft) RESOLUTION=360x120
params="Quality=360x120dpi,InkType=CMYK,ImageType=0,Dither=VeryFast" ;;
low) RESOLUTION=360x240
params="Quality=360x240dpi,InkType=CMYK,ImageType=0,Dither=Fast" ;;
medium) RESOLUTION=360x360
[ "$SWEEP" = uni ] && sweep=uni || sweep=
params="Quality=360mw$sweep,InkType=CMYK,ImageType=1" ;;
high) RESOLUTION=720x360
[ "$SWEEP" = uni ] && sweep=uni || sweep=
params="Quality=720x360sw$sweep,InkType=PhotoCMYK,ImageType=1" ;;
photo) RESOLUTION=720x720
[ "$SWEEP" = uni ] && sweep=uni || sweep=
params="Quality=720mw$sweep,InkType=PhotoCMYK,ImageType=2" ;;
esac
case "$COLOR" in
full) GS_FEATURES="$GS_FEATURES -sProcessColorModel=DeviceRGB" ;;
gray) GS_FEATURES="$GS_FEATURES -sProcessColorModel=DeviceGray" ;;
mono) GS_FEATURES="$GS_FEATURES -sProcessColorModel=DeviceGray -dBitsPerSample=1" ;;
esac
case "$MEDIA" in
coated) params="$params,MediaType=Coated" ;;
glossy) params="$params,MediaType=GlossyPaper" ;;
premium) params="$params,MediaType=GlossyPhoto" ;;
trans) params="$params,MediaType=Transparency" ;;
plain) params="$params,MediaType=Plain" ;;
esac
GS_FEATURES="$GS_FEATURES -sIjsParams='$params' -sDeviceManufacturer=EPSON"
|