/usr/share/apsfilter/driver/cdjcolor 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 | # $ApsCVS: src/apsfilter/driver/cdjcolor,v 1.1 2001/11/17 15:21:54 andreas Exp $
PRINTER=cdj500
case "$QUALITY" in
draft) RESOLUTION="150x150"
GS_FEATURES="$GS_FEATURES -dQuality=-1" ;;
low) RESOLUTION="150x150"
GS_FEATURES="$GS_FEATURES -dQuality=0" ;;
medium) RESOLUTION="300x300"
GS_FEATURES="$GS_FEATURES -dQuality=0" ;;
high) RESOLUTION="600x600"
GS_FEATURES="$GS_FEATURES -dQuality=0" ;;
photo) RESOLUTION="600x600"
GS_FEATURES="$GS_FEATURES -dQuality=1" ;;
esac
case "$COLOR" in
full) GS_FEATURES="$GS_FEATURES -dBitsPerPixel=24" ;;
gray) GS_FEATURES="$GS_FEATURES -dBitsPerPixel=8" ;;
mono) GS_FEATURES="$GS_FEATURES -dBitsPerPixel=1" ;;
esac
case "$MEDIA" in
coated) GS_FEATURES="$GS_FEATURES -dPapertype=1" ;;
premium) GS_FEATURES="$GS_FEATURES -dPapertype=2" ;;
glossy) GS_FEATURES="$GS_FEATURES -dPapertype=3" ;;
trans) GS_FEATURES="$GS_FEATURES -dPapertype=4" ;;
plain) GS_FEATURES="$GS_FEATURES -dPapertype=0" ;;
esac
|