Searched refs:num_presets (Results 1 – 5 of 5) sorted by relevance
183 if (cache->num_presets[pwg_pcm][pwg_pq] == 0) in cupsMarkOptions()190 if (cache->num_presets[pwg_pcm][_PWG_PRINT_QUALITY_NORMAL] > 0) in cupsMarkOptions()192 else if (cache->num_presets[_PWG_PRINT_COLOR_MODE_COLOR][pwg_pq] > 0) in cupsMarkOptions()201 if (cache->num_presets[pwg_pcm][pwg_pq] > 0) in cupsMarkOptions()208 for (i = cache->num_presets[pwg_pcm][pwg_pq], in cupsMarkOptions()
129 int num_presets[_PWG_PRINT_COLOR_MODE_MAX][_PWG_PRINT_QUALITY_MAX]; member
863 pc->num_presets[print_color_mode][print_quality] = in _ppdCacheCreateWithFile()1498 if (!pc->num_presets[pwg_print_color_mode][pwg_print_quality]) in _ppdCacheCreateWithPPD()1499 pc->num_presets[pwg_print_color_mode][pwg_print_quality] = in _ppdCacheCreateWithPPD()1510 if (!pc->num_presets[_PWG_PRINT_COLOR_MODE_MONOCHROME][_PWG_PRINT_QUALITY_DRAFT] && in _ppdCacheCreateWithPPD()1511 !pc->num_presets[_PWG_PRINT_COLOR_MODE_MONOCHROME][_PWG_PRINT_QUALITY_NORMAL] && in _ppdCacheCreateWithPPD()1512 !pc->num_presets[_PWG_PRINT_COLOR_MODE_MONOCHROME][_PWG_PRINT_QUALITY_HIGH]) in _ppdCacheCreateWithPPD()1566 if (pc->num_presets[_PWG_PRINT_COLOR_MODE_COLOR][pwg_print_quality]) in _ppdCacheCreateWithPPD()1572 num_options = pc->num_presets[_PWG_PRINT_COLOR_MODE_COLOR] in _ppdCacheCreateWithPPD()1588 pc->num_presets[_PWG_PRINT_COLOR_MODE_MONOCHROME][pwg_print_quality] = in _ppdCacheCreateWithPPD()1601 pc->num_presets[_PWG_PRINT_COLOR_MODE_MONOCHROME][pwg_print_quality] = in _ppdCacheCreateWithPPD()[all …]
484 int num_presets; /* Number of presets */ in get_options() local500 num_presets = ppd_cache->num_presets[pcm][pq]; in get_options()503 for (i = 0; i < num_presets; i ++) 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()3720 else if (pc->num_presets[_PWG_PRINT_COLOR_MODE_COLOR][print_quality] > 0) 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()