/usr/share/apsfilter/driver/printiva 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 | # $ApsCVS: src/apsfilter/driver/printiva,v 1.1 2001/11/17 15:21:54 andreas Exp $
POST_FILTER=ppmtocpva
case "$QUALITY" in
draft|low) RESOLUTION=300x300
POST_FILTER_OPTS="$POST_FILTER_OPTS -lowres" ;;
medium) RESOLUTION=600x600 ;;
high|photo) RESOLUTION=1200x600
POST_FILTER_OPTS="$POST_FILTER_OPTS -highres -highresinput" ;;
esac
case "$COLOR" in
full) PRINTER=ppmraw
POST_FILTER_OPTS="$POST_FILTER_OPTS -halftone" ;;
gray) PRINTER=pgmraw
POST_FILTER_OPTS="$POST_FILTER_OPTS -black -halftone" ;;
mono) PRINTER=pbmraw
POST_FILTER_OPTS="$POST_FILTER_OPTS -black -mono" ;;
esac
case "$MEDIA" in
plain) POST_FILTER_OPTS="$POST_FILTER_OPTS -media paper" ;;
trans) POST_FILTER_OPTS="$POST_FILTER_OPTS -media ohp" ;;
*) POST_FILTER_OPTS="$POST_FILTER_OPTS -media highgrade" ;;
esac
POST_FILTER_OPTS="$POST_FILTER_OPTS -xshift -0.133in -yshift -0.473in -pagelength ${HEIGHT_INCHES}in -pagewidth ${WIDTH_INCHES}in"
|