File: Kyocera_FS_600

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 (26 lines) | stat: -rw-r--r-- 779 bytes parent folder | download | duplicates (7)
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
# $ApsCVS: src/apsfilter/driver/omni/Kyocera_FS_600,v 1.1.2.3 2002/01/09 21:06:34 andreas Exp $

case "$QUALITY" in
	draft)	RESOLUTION=75x75
		props="resolution=RESOLUTION_75_X_75" ;;
	low)	RESOLUTION=150x150
		props="resolution=RESOLUTION_150_X_150" ;;
	medium)	RESOLUTION=300x300
		props="resolution=RESOLUTION_300_X_300" ;;
	*)	RESOLUTION=600x600
		props="resolution=RESOLUTION_600_X_600" ;;
esac

case "$COLOR" in
	full)	props="$props printmode=PRINT_MODE_24_RGB" ;;
	gray)	props="$props printmode=PRINT_MODE_8_RGB" ;;
	mono)	props="$props printmode=PRINT_MODE_1_ANY" ;;
esac

case "$PAPERSIZE" in
	a4)	props="$props form=FORM_A4" ;;
	letter)	props="$props form=FORM_LETTER" ;;
	legal)	props="$props form=FORM_LEGAL" ;;
esac

GS_FEATURES="$GS_FEATURES -sproperties='$props'"