File: bjc50

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 (27 lines) | stat: -rw-r--r-- 912 bytes parent folder | download | duplicates (6)
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
# $ApsCVS: src/apsfilter/driver/bjc50,v 1.1.2.1 2002/01/09 21:06:33 andreas Exp $

# various printers handled by the bjc600 driver
PRINTER=bjc600

case "$QUALITY" in
	draft)	RESOLUTION=90x90
		GS_FEATURES="$GS_FEATURES -sPrintQuality=Draft" ;;
	low)	RESOLUTION=180x180
		GS_FEATURES="$GS_FEATURES -sPrintQuality=Draft" ;;
	medium)	RESOLUTION=360x360
		GS_FEATURES="$GS_FEATURES -sPrintQuality=Normal" ;;
	*)	RESOLUTION=720x360
		GS_FEATURES="$GS_FEATURES -sPrintQuality=High" ;;
esac

case "$COLOR" in
	full)	GS_FEATURES="$GS_FEATURES -dBitsPerPixel=32 -dColors=4" ;;
	gray)	GS_FEATURES="$GS_FEATURES -dBitsPerPixel=8 -dColors=1" ;;
	mono)	GS_FEATURES="$GS_FEATURES -dBitsPerPixel=1 -dColors=1" ;;
esac

case "$MEDIA" in
	trans)	GS_FEATURES="$GS_FEATURES -sMediaType=TransparencyFilm" ;;
	plain)	GS_FEATURES="$GS_FEATURES -sMediaType=PlainPaper" ;;
	*)	GS_FEATURES="$GS_FEATURES -sMediaType=CoatedPaper" ;;
esac