| Andreas Klemm on Thu, 4 Oct 2001 08:40:47 +0200 (CEST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: pcl3 driver uses "-sColourModel" instead of "-sColorMode" |
On Wed, Oct 03, 2001 at 05:06:17PM +0200, Jose M. Alcaide wrote: > Hello, > > While trying to print in color using an HP DeskJet 930C and the pcl3 > driver, I found that the "-sColorMode" option used in apsfilter is not > understood by pcl3; instead, this driver uses "-sColourModel". I don't > know whether the hpdj driver uses "ColorMode" or "ColourModel", however. > I found a reference to "-sColourMode" (with the "u" but without the "l") > in README.hpdj. Thanks, just committed a fix. Too bad, that pcl3 driver doesn't report wrong options ... Could you please test my fix, that I just committed to apsfilter-current ? In the attachement the fix alone ... SETUP doesn't ned to be fixed, since it doesn't use special color options. Andreas /// -- Andreas Klemm Apsfilter Homepage http://www.apsfilter.org Support over mailing-lists (only!) http://www.apsfilter.org/support Mailing-list archive http://www.apsfilter.org/Lists-Archives Songs from our band >> 64Bits << http://members.aol.com/II64BitsII/ Inofficial band pages with add-on stuff http://www.apsfilter.org/64bits.html
? fix.color-model
Index: apsfilter
===================================================================
RCS file: /var/apscvs/APSCVS/src/apsfilter/bin/apsfilter,v
retrieving revision 1.207
diff -u -u -r1.207 apsfilter
--- apsfilter 2001/09/15 11:28:21 1.207
+++ apsfilter 2001/10/04 06:32:58
@@ -1769,19 +1769,43 @@
GS_FEATURES="$GS_FEATURES -dBitsPerPixel=${option%bpp}" ;;
esac
;;
- hpdj|pcl3)
+ hpdj)
# gs driver specific options
case "$option" in
low) RESOLUTION="150x150" ;;
med*) RESOLUTION="300x300" ;;
high) RESOLUTION="600x600" ;;
- mono) GS_FEATURES="$GS_FEATURES -sColorMode=mono" ;;
+ mono) GS_FEATURES="$GS_FEATURES -sColourMode=mono" ;;
cmy) COLOR=color
- GS_FEATURES="$GS_FEATURES -sColorMode=CMY" ;;
+ GS_FEATURES="$GS_FEATURES -sColourMode=CMY" ;;
cmy+k) COLOR=color
- GS_FEATURES="$GS_FEATURES -sColorMode=CMY+K" ;;
+ GS_FEATURES="$GS_FEATURES -sColourMode=CMY+K" ;;
cmyk) COLOR=color
- GS_FEATURES="$GS_FEATURES -sColorMode=CMYK" ;;
+ GS_FEATURES="$GS_FEATURES -sColourMode=CMYK" ;;
+ draft) GS_FEATURES="$GS_FEATURES -sPrintQuality=draft" ;;
+ norm*) GS_FEATURES="$GS_FEATURES -sPrintQuality=normal" ;;
+ pres*) GS_FEATURES="$GS_FEATURES -sPrintQuality=presentation";;
+ plain) GS_FEATURES="$GS_FEATURES -sMediaType=plain" ;;
+ bond) GS_FEATURES="$GS_FEATURES -sMediaType=bond" ;;
+ prem*) GS_FEATURES="$GS_FEATURES -sMediaType=Premium" ;;
+ glos*) GS_FEATURES="$GS_FEATURES -sMediaType=glossy" ;;
+ trans*) GS_FEATURES="$GS_FEATURES -sMediaType=transparency" ;;
+ photo) GS_FEATURES="$GS_FEATURES -sMediaType=photo" ;;
+ esac
+ ;;
+ pcl3)
+ # gs driver specific options
+ case "$option" in
+ low) RESOLUTION="150x150" ;;
+ med*) RESOLUTION="300x300" ;;
+ high) RESOLUTION="600x600" ;;
+ mono) GS_FEATURES="$GS_FEATURES -sColourModel=mono" ;;
+ cmy) COLOR=color
+ GS_FEATURES="$GS_FEATURES -sColourModel=CMY" ;;
+ cmy+k) COLOR=color
+ GS_FEATURES="$GS_FEATURES -sColourModel=CMY+K" ;;
+ cmyk) COLOR=color
+ GS_FEATURES="$GS_FEATURES -sColourModel=CMYK" ;;
draft) GS_FEATURES="$GS_FEATURES -sPrintQuality=draft" ;;
norm*) GS_FEATURES="$GS_FEATURES -sPrintQuality=normal" ;;
pres*) GS_FEATURES="$GS_FEATURES -sPrintQuality=presentation";;