Searched refs:print_color_mode (Results 1 – 3 of 3) sorted by relevance
/external/libcups/cups/ |
D | ppd-mark.c | 60 *print_color_mode, /* print-color-mode option */ in cupsMarkOptions() local 88 if ((print_color_mode = cupsGetOption("print-color-mode", num_options, in cupsMarkOptions() 90 print_color_mode = cupsGetOption("output-mode", num_options, options); in cupsMarkOptions() 92 if ((media || output_bin || print_color_mode || print_quality || sides) && in cupsMarkOptions() 157 (print_color_mode || print_quality)) in cupsMarkOptions() 167 if (print_color_mode && !strcmp(print_color_mode, "monochrome")) in cupsMarkOptions()
|
D | ppd-cache.c | 439 _pwg_print_color_mode_t print_color_mode; in _ppdCacheCreateWithFile() local 848 print_color_mode = (_pwg_print_color_mode_t)strtol(value, &valueptr, 10); in _ppdCacheCreateWithFile() 851 if (print_color_mode < _PWG_PRINT_COLOR_MODE_MONOCHROME || in _ppdCacheCreateWithFile() 852 print_color_mode >= _PWG_PRINT_COLOR_MODE_MAX || in _ppdCacheCreateWithFile() 863 pc->num_presets[print_color_mode][print_quality] = in _ppdCacheCreateWithFile() 865 pc->presets[print_color_mode] + print_quality); in _ppdCacheCreateWithFile()
|
/external/libcups/scheduler/ |
D | job.c | 3643 int print_color_mode, in get_options() local 3676 print_color_mode = _PWG_PRINT_COLOR_MODE_MONOCHROME; in get_options() 3678 print_color_mode = _PWG_PRINT_COLOR_MODE_COLOR; in get_options() 3711 if (pc->num_presets[print_color_mode][print_quality] == 0) in get_options() 3718 if (pc->num_presets[print_color_mode][_PWG_PRINT_QUALITY_NORMAL] > 0) in get_options() 3721 print_color_mode = _PWG_PRINT_COLOR_MODE_COLOR; in get_options() 3725 print_color_mode = _PWG_PRINT_COLOR_MODE_COLOR; in get_options() 3729 if (pc->num_presets[print_color_mode][print_quality] > 0) in get_options() 3736 for (i = pc->num_presets[print_color_mode][print_quality], in get_options() 3737 preset = pc->presets[print_color_mode][print_quality]; in get_options()
|