All of lore.kernel.org
 help / color / mirror / Atom feed
* [Printing-architecture] "no-color-management" not a good idea for a name of a boolean CUPS option
@ 2014-06-12 10:13 Till Kamppeter
  2014-06-12 12:17 ` Michael Sweet
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Till Kamppeter @ 2014-06-12 10:13 UTC (permalink / raw)
  To: Joseph Simon; +Cc: Open Printing

Hi,

I have encountered a problem with the "no-color-management" and
cupsGetOption() not be able to recognize that the user has supplied "-o
no-color-management" on the command line.

If you have an arbitrary boolean option in CUPS filters or backends,
like "xxx" the variants

   -o xxx
   -o xxx=1
   -o xxx=on
   -o xxx=yes
   -o xxx=true

are supposed to let it be interpreted as set and

   -o noxxx
   -o xxx=0
   -o xxx=off
   -o xxx=no
   -o xxx=false

let it be interpreted as not set. To support the "-o noxxx" case
cupsGetOption() seems to split a "no" in the beginning of the name off
if there is no '='. Therefore "no-color-management=" works but
"no-color-management" not. The latter is probably interpreted as
"-color-management=false".

Mike, am I right with this?

So I suggest something like "calibration-mode", "cm-calibration-mode",
"cm-calibration", or similar.

WDYT?

   Till

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-06-15 14:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-12 10:13 [Printing-architecture] "no-color-management" not a good idea for a name of a boolean CUPS option Till Kamppeter
2014-06-12 12:17 ` Michael Sweet
2014-06-12 17:06 ` Chris Murphy
2014-06-12 18:15 ` Joseph Simon
2014-06-12 21:22   ` Till Kamppeter
2014-06-12 23:52     ` Joseph Simon
2014-06-15  9:10       ` Till Kamppeter
2014-06-15 12:56         ` Joseph Simon
2014-06-15 14:59           ` Till Kamppeter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.