37 lines
651 B
Plaintext
37 lines
651 B
Plaintext
# Low resolution version of the stcolor filter
|
|
#!/bin/sh
|
|
|
|
DEVICE=stcolor
|
|
RESOLUTION=360x360
|
|
PAPERSIZE=letter
|
|
|
|
cat - | /usr/local/bin/gs -q -sDEVICE=$DEVICE \
|
|
-r$RESOLUTION \
|
|
-sPAPERSIZE=$PAPERSIZE \
|
|
-dMicroweave \
|
|
-sDithering=fscmyk \
|
|
-dSAFER \
|
|
-sOutputFile=- stcolor.ps -
|
|
fi
|
|
|
|
exit 0
|
|
|
|
#------------------------------------------------------
|
|
# High resolution version of the stcolor filter.
|
|
#!/bin/sh
|
|
|
|
DEVICE=stcolor
|
|
RESOLUTION=720x720
|
|
PAPERSIZE=letter
|
|
|
|
cat - | /usr/local/bin/gs -q -sDEVICE=$DEVICE \
|
|
-r$RESOLUTION \
|
|
-sPAPERSIZE=$PAPERSIZE \
|
|
-dMicroweave \
|
|
-sDithering=fscmyk \
|
|
-dSAFER \
|
|
-sOutputFile=- stcolor.ps -
|
|
fi
|
|
|
|
exit 0
|