<font color="#000000"><font size="2"><font face="verdana,sans-serif">Hi,</font></font></font><div><font color="#000000"><font size="2"><font face="verdana,sans-serif"><br></font></font></font></div><div><font color="#000000"><font size="2"><font face="verdana,sans-serif">thank for your reply again.</font></font></font></div>

<div><font color="#000000"><font size="2"><font face="verdana,sans-serif"><br></font></font></font></div><div><font color="#000000"><font size="2"><font face="verdana,sans-serif">I've tried your solution and still get the job in color! </font></font></font></div>

<div><font color="#000000"><font size="2"><font face="verdana,sans-serif"><br></font></font></font></div><div><font color="#000000"><font size="2"><font face="verdana,sans-serif">Really I begin to be a bit desperate :-(</font></font></font></div>

<div><font color="#000000"><font size="2"><font face="verdana,sans-serif"><br></font></font></font></div><div><font color="#000000"><font size="2"><font face="verdana,sans-serif">I my opinion, the changes I do in the ppd file don't take effect in CUPS... I don't understand the reason but it seems to be so...</font></font></font></div>

<div><font color="#000000"><font size="2"><font face="verdana,sans-serif"><br></font></font></font></div><div><font color="#000000"><font size="2"><font face="verdana,sans-serif">It is possible that another driver is been used? Another generic driver (foomatic?)?</font></font></font></div>

<div><font color="#000000"><font size="2"><font face="verdana,sans-serif"><br></font></font></font></div><div><font color="#000000"><font size="2"><font face="verdana,sans-serif">My PDF.ppd, for your recomended options, is.</font></font></font></div>

<div><font color="#000000"><font size="2"><font face="verdana,sans-serif"><br></font></font></font></div><div><font color="#000000"><font size="2"><font face="verdana,sans-serif">[...]</font></font></font></div><div><font color="#000000"><font size="2"><font face="verdana,sans-serif"><div>

*ColorDevice:<span class="Apple-tab-span" style="white-space:pre">    </span>False</div><div>*DefaultColorSpace: Gray</div><div>*JobPatchFile 1:"<</ProcessColorModel /DeviceGray>>setpagedevice"</div></font></font></font></div>

<div><font color="#000000"><font size="2"><font face="verdana,sans-serif">[...]</font></font></font></div><div><font color="#000000"><font size="2"><font face="verdana,sans-serif"><br></font></font></font></div><div><font color="#000000"><font size="2"><font face="verdana,sans-serif">Note that I restart CUPS after change the ppd file.</font></font></font></div>

<div><font color="#000000"><font size="2"><font face="verdana,sans-serif"><br></font></font></font></div><div><font color="#000000"><font size="2"><font face="verdana,sans-serif">¿Another idea?</font></font></font></div>
<div>
<font color="#000000"><font size="2"><font face="verdana,sans-serif"><br></font></font></font></div><div><font color="#000000"><font size="2"><font face="verdana,sans-serif">Thanks in advance!</font></font></font></div><div>

<font color="#000000"><font size="2"><font face="verdana,sans-serif">Daniel.<br></font></font></font><br><div class="gmail_quote">2011/10/17 Helge Blischke <span dir="ltr"><<a href="mailto:h.blischke@acm.org">h..blischke@acm.org</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">Daniel J. Soto wrote:<br>
<br>
> Hi,<br>
><br>
> thanks for your reply.<br>
><br>
> I have tried your option but my PDF printer (I'm using this for test)<br>
> still print in color... It is like CUPS doesn't use the ppd files.... it's<br>
> possible?<br>
><br>
> In the other hand, how I can change the appropiate value with a command<br>
> line? lpoption?<br>
><br>
> Thanks in advance,<br>
> Daniel.<br>
><br>
> 2011/10/17 Helge Blischke <<a href="mailto:h.blischke@acm.org">h.blischke@acm.org</a>><br>
><br>
</div><div><div></div><div class="h5">>> Daniel J. Soto wrote:<br>
>><br>
>> > Hello all,<br>
>> ><br>
>> > it is possible that another people have been asked the same question<br>
>> > but I'm googling from last ten days and I have not found anything about<br>
>> > this that I can use...<br>
>> ><br>
>> > I'm looking for a way to create two queues from the same color printer,<br>
>> > one for printing in color and one for printing in black and white (or<br>
>> > grayscale). I've tryed to modify the ppd file manually setting de<br>
>> > attribute ColorDevice to false but it doesn't work. My objetive is to<br>
>> > do this internally from my (php) program but I'm trying to do manually<br>
>> before<br>
>> > for understanding the process... It's seems CUPS doesn't read the ppd<br>
>> file<br>
>> > before printing (ubuntu)...<br>
>> ><br>
>> > Perphaps anybody have had the same problem before... or knows how I do<br>
>> > that or where I can find info about doing that...<br>
>> ><br>
>> > I would be much obliged for any hepful information...<br>
>> ><br>
>> > Regards,<br>
>> > Daniel.<br>
>><br>
>> Don't touch the ColorDevice attribute but instead change the<br>
>> *DefaultColorSpace: xxxx<br>
>> (xxxx will be CMYK or RGB) to<br>
>> *DefaultColorSpace: Gray<br>
>><br>
>> Helge<br>
>> for the grayscale queue.<br>
>><br>
>> _______________________________________________<br>
>> cups mailing list<br>
>> <a href="mailto:cups@easysw.com">cups@easysw.com</a><br>
>> <a href="http://lists.easysw.com/mailman/listinfo/cups" target="_blank">http://lists.easysw.com/mailman/listinfo/cups</a><br>
>><br>
<br>
</div></div>Well, then in addition insert the following lines into your PPDs (folowing<br>
the DefaultColorSpace line:<br>
<br>
*JobPatchFile 1 : "<</ProcessColorModel /DeviceXXX>>setpagedevice"<br>
<br>
where XXX = Gray for the grayscale queue and XXX = CMYK or RGB<br>
(whatever is listed in the DefaultColorSpace line).<br>
<font color="#888888"><br>
Helge<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
cups mailing list<br>
<a href="mailto:cups@easysw.com">cups@easysw.com</a><br>
<a href="http://lists.easysw.com/mailman/listinfo/cups" target="_blank">http://lists.easysw.com/mailman/listinfo/cups</a><br>
</div></div></blockquote></div><br></div>