Home | History | Annotate | Download | only in cups

Lines Matching defs:source

73   const char	*media_source,		/* media-source value */
233 else if (media_source && !strcmp(media_col_sup->values[i].string.text, "media-source"))
234 ippAddString(media_col, IPP_TAG_ZERO, IPP_TAG_KEYWORD, "media-source", NULL, media_source);
746 else if (!_cups_strcasecmp(line, "Source"))
750 DEBUG_printf(("_ppdCacheCreateWithFile: Bad Source on line %d.",
758 DEBUG_printf(("_ppdCacheCreateWithFile: Too many Source's on line %d.",
964 pwg_map_t *map; /* Current source/type map */
2153 * Lookup the media-col attribute and any media-source found there...
2157 *media_source; /* media-source attribute */
2164 "media-source",
2168 * Use the media-source value from media-col...
2218 * Lookup the media-col attribute and any media-source found there...
2638 * '_ppdCacheGetSource()' - Get the PWG media-source associated with a PPD
2642 const char * /* O - PWG media-source keyword */
2648 pwg_map_t *source; /* Current source */
2658 for (i = pc->num_sources, source = pc->sources; i > 0; i --, source ++)
2659 if (!_cups_strcasecmp(input_slot, source->ppd))
2660 return (source->pwg);
2780 cupsFilePrintf(fp, "Source %s %s\n", map->pwg, map->ppd);
3326 if ((attr = ippFindAttribute(ippGetCollection(defattr, 0), "media-source", IPP_TAG_ZERO)) != NULL)
3331 if ((attr = ippFindAttribute(response, "media-source-supported", IPP_TAG_ZERO)) != NULL && (count = ippGetCount(attr)) > 1)
3334 { /* "media-source" strings */
4095 * media-source.
4100 const char *media_source, /* I - PWG media-source */