[cups.general] Create color / black and white queues from color printer

Helge Blischke h.blischke at acm.org
Mon Oct 17 09:48:58 PDT 2011


Daniel J. Soto wrote:

> Hi,
> 
> thanks for your reply.
> 
> I have tried your option but my PDF printer (I'm using this for test)
> still print in color... It is like CUPS doesn't use the ppd files... it's
> possible?
> 
> In the other hand, how I can change the appropiate value with a command
> line? lpoption?
> 
> Thanks in advance,
> Daniel.
> 
> 2011/10/17 Helge Blischke <h.blischke at acm.org>
> 
>> Daniel J. Soto wrote:
>>
>> > Hello all,
>> >
>> > it is possible that another people have been asked the same question
>> > but I'm googling from last ten days and I have not found anything about
>> > this that I can use...
>> >
>> > I'm looking for a way to create two queues from the same color printer,
>> > one for printing in color and one for printing in black and white (or
>> > grayscale). I've tryed to modify the ppd file manually setting de
>> > attribute ColorDevice to false but it doesn't work. My objetive is to
>> > do this internally from my (php) program but I'm trying to do manually
>> before
>> > for understanding the process... It's seems CUPS doesn't read the ppd
>> file
>> > before printing (ubuntu)...
>> >
>> > Perphaps anybody have had the same problem before... or knows how I do
>> > that or where I can find info about doing that...
>> >
>> > I would be much obliged for any hepful information...
>> >
>> > Regards,
>> > Daniel.
>>
>> Don't touch the ColorDevice attribute but instead change the
>> *DefaultColorSpace: xxxx
>> (xxxx will be CMYK or RGB) to
>> *DefaultColorSpace: Gray
>>
>> Helge
>> for the grayscale queue.
>>
>> _______________________________________________
>> cups mailing list
>> cups at easysw.com
>> http://lists.easysw.com/mailman/listinfo/cups
>>

Well, then in addition insert the following lines into your PPDs (folowing
the DefaultColorSpace line:

*JobPatchFile 1 : "<</ProcessColorModel /DeviceXXX>>setpagedevice"

where XXX = Gray for the grayscale queue and XXX = CMYK or RGB
(whatever is listed in the DefaultColorSpace line).

Helge





More information about the cups mailing list