File: stylewriter

package info (click to toggle)
apsfilter 7.2.6-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 2,496 kB
  • sloc: sh: 450; ansic: 236; perl: 175; makefile: 159
file content (15 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $ApsCVS: src/apsfilter/driver/stylewriter,v 1.1 2001/11/17 15:21:55 andreas Exp $

RESOLUTION=360x360
POST_FILTER=lpstyl

case "$COLOR" in
	full)	PRINTER=bitcmyk
		case "$PAPERSIZE" in
			a4)	GS_FEATURES="$GS_FEATURES -g2975x4210"
				POST_FILTER_OPTS="$POST_FILTER_OPTS -p a4" ;;
			letter)	GS_FEATURES="$GS_FEATURES -g3060x3960" ;;
		esac ;;
	*)	PRINTER=pbmraw
		[ "$PAPERSIZE" = a4 ] && POST_FILTER_OPTS="$POST_FILTER_OPTS -p a4" ;;
esac