/usr/share/apsfilter/driver/stp/escp2-400 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 | # $ApsCVS: src/apsfilter/driver/stp/escp2-400,v 1.1 2001/11/17 15:22:01 andreas Exp $
case "$QUALITY" in
draft) RESOLUTION=360x120
GS_FEATURES="$GS_FEATURES -sQuality=360x120dpi -dImageType=0 -sDither=VeryFast" ;;
low) RESOLUTION=360x240
GS_FEATURES="$GS_FEATURES -sQuality=360x240dpi -dImageType=0 -sDither=Fast" ;;
medium) RESOLUTION=360x360
[ "$SWEEP" = uni ] && sweep=uni || sweep=dpi
GS_FEATURES="$GS_FEATURES -sQuality=360$sweep -dImageType=1" ;;
high) RESOLUTION=720x720
[ "$SWEEP" = uni ] && sweep=uni || sweep=
GS_FEATURES="$GS_FEATURES -sQuality=720sw$sweep -dImageType=1" ;;
photo) RESOLUTION=720x720
[ "$SWEEP" = uni ] && sweep=uni || sweep=
GS_FEATURES="$GS_FEATURES -sQuality=720hq$sweep -dImageType=2" ;;
esac
case "$COLOR" in
full) GS_FEATURES="$GS_FEATURES -dColor=1" ;;
gray) GS_FEATURES="$GS_FEATURES -dColor=0" ;;
mono) GS_FEATURES="$GS_FEATURES -dColor=2" ;;
esac
case "$MEDIA" in
coated) GS_FEATURES="$GS_FEATURES -sMediaType=Coated" ;;
glossy) GS_FEATURES="$GS_FEATURES -sMediaType=GlossyPaper" ;;
premium) GS_FEATURES="$GS_FEATURES -sMediaType=GlossyPhoto" ;;
trans) GS_FEATURES="$GS_FEATURES -sMediaType=Transparency" ;;
plain) GS_FEATURES="$GS_FEATURES -sMediaType=Plain" ;;
esac
|