Forcing Black & White

Helge Blischke h.blischke at srz.de
Mon Dec 17 04:33:51 PST 2007


moseley wrote:
> Sorry, just getting back to this:
> 
> 
>>Helge Blischke wrote:
>>
>>>But, printing in Firefox to the "HP_BW_LaserJet_2605" spooler still
>>>prints in color.  Does Firefox somehow bypass the PPD?  Or does it
>>>enable color printing by default?
> 
> 
>>The ColorDevice statement you changed is merely a hint to
>>applications wich, when generating PostScript jobs, by themselves
>>want to decide if / how to convert colors into gray scale values.
> 
> 
> Are you saying that the application may not even use the PPD file on the spooler server?  Firefox certainly doesn't list all the PPD options when printing to this printer.
> 
> 
>>Your PPD lists a set of options which lets you define how the printer
>>will render colors:
>>---snip---
>>*% =================================
>>*% Print Color as Gray
>>*% Chose NOT to use standard *ColorModel keyword because color on or off is simpler
>>*% =================================
>>*OpenUI *ColorModel/Print Color as Gray:  PickOne
>>*OrderDependency: 20 AnySetup *ColorModel
>>*DefaultColorModel: CMYKImageRET2400
>>*ColorModel CMYKImageRET2400/Off - ImageRET 2400: "<< /ProcessColorModel /DeviceCMYK
>>/HWResolution [600 600]  >> setpagedevice"
>>*ColorModel Gray1200x1200dpi/On - ProRes 1200: "<</ProcessColorModel /DeviceGray /HWResolution
>>[1200 1200] /PreRenderingEnhance false>> setpagedevice"
>>*ColorModel Gray600x600dpi/On - 600 dpi: "<</ProcessColorModel /DeviceGray /HWResolution [600
>>600] /PreRenderingEnhance false>> setpagedevice"
>>
>>---snip---
>>
>>Select your preferred color model for b/w printing from this choice list,
>>and you should be happy.
> 
> 
> I tried:
> 
>     *DefaultColorModel: Gray600x600dpi
> 
> But, firefox still prints color.
> 
> Is it not possible to force all jobs to a specific printer to print in black and white just by editing the PPD?
> 
> Could it be accomplished using a filter?
> 
> Thanks,
> 
> --
> Bill Moseley
> moseley at hank.org
> 

Firefox - at least the versions I have worked with so far - offer a
printer properties dialog which includes a choice between
color and grayscale (at leas with color capable printers).
You need to select grayscale, otherwise the default setting from the
PPD will be overridden.

But you may comment out the color choices in the PPD (insert a
percent sign just after the asterisk) so that they are no longer
available.

Helge



-- 
Helge Blischke
Softwareentwicklung

H.Blischke at acm.org




More information about the cups mailing list