[cups] Standard marker-types name changed for cups 1.7 | "wasteToner" to "waste-toner"
Helge Blischke
HelgeBlischke at web.de
Mon Jun 9 07:25:34 PDT 2014
Either check both variants or use a regular expression match, like
/waste(-)?[Tt]oner/
(this is the syntax used with Perl).
Helge
Am 09.06.2014 um 09:41 schrieb vivek kar:
> Hello,
>
> For cups filter, we till now used "wasteToner" for Waste toner tank.
> However from cups 1.7 it being changed to "waste-toner". Therefore we
> need to modify the code for the same. Now the problem is that the same
> filter is to be used for all cups version. Hence depending on the cups
> version I should be using wasteToner or waste-toner.
>
> I tried to use a complex string ' "wasteToner,waste-toner" '. But it
> is not working.
> Kindly suggest.
>
> Regards,
> -Vivek
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups
More information about the cups
mailing list