File: stylewriter

package info (click to toggle)
apsfilter 7.2.6-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,544 kB
  • ctags: 61
  • sloc: sh: 457; ansic: 236; perl: 175; makefile: 157
file content (15 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (6)
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