• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/cups-372.4/cups/cups/

Lines Matching refs:media_type

652 			*media_type,	/* MediaType option */
954 if ((media_type = ppdFindOption(ppd, "MediaType")) != NULL)
956 if ((pc->types = calloc(media_type->num_choices,
960 "pwg_map_t's for MediaType.", media_type->num_choices));
964 pc->num_types = media_type->num_choices;
966 for (i = media_type->num_choices, choice = media_type->choices,
1787 *media_type; /* media-type attribute */
1792 if ((media_type = ippFindAttribute(media_col->values[0].collection,
1795 media_type = ippFindAttribute(media_col->values[0].collection,
1798 if (media_type)
1799 keyword = media_type->values[0].string.text;
2239 const char *media_type) /* I - PPD MediaType */
2249 if (!pc || !media_type)
2253 if (!_cups_strcasecmp(media_type, type->ppd))
2539 const char *media_type, /* I - PWG media-type */
2547 if (!media_type || !name || namesize < PPD_MAX_NAME)
2550 if (_cups_strcasecmp(media_type, "auto"))
2552 else if (_cups_strcasecmp(media_type, "cardstock"))
2554 else if (_cups_strcasecmp(media_type, "envelope"))
2556 else if (_cups_strcasecmp(media_type, "photographic-glossy"))
2558 else if (_cups_strcasecmp(media_type, "photographic-high-gloss"))
2560 else if (_cups_strcasecmp(media_type, "photographic-matte"))
2562 else if (_cups_strcasecmp(media_type, "stationery"))
2564 else if (_cups_strcasecmp(media_type, "stationery-coated"))
2566 else if (_cups_strcasecmp(media_type, "stationery-inkjet"))
2568 else if (_cups_strcasecmp(media_type, "stationery-letterhead"))
2570 else if (_cups_strcasecmp(media_type, "stationery-preprinted"))
2572 else if (_cups_strcasecmp(media_type, "transparency"))
2575 pwg_ppdize_name(media_type, name, namesize);