Lines Matching refs:ppd_keyword
437 ppd_keyword[PPD_MAX_NAME]; in _ppdCacheCreateWithFile() local
633 if (sscanf(value, "%127s%40s", pwg_keyword, ppd_keyword) != 2) in _ppdCacheCreateWithFile()
650 map->ppd = strdup(ppd_keyword); in _ppdCacheCreateWithFile()
694 if (sscanf(value, "%127s%40s%d%d%d%d%d%d", pwg_keyword, ppd_keyword, in _ppdCacheCreateWithFile()
705 size->map.ppd = strdup(ppd_keyword); in _ppdCacheCreateWithFile()
771 if (sscanf(value, "%127s%40s", pwg_keyword, ppd_keyword) != 2) in _ppdCacheCreateWithFile()
789 map->ppd = strdup(ppd_keyword); in _ppdCacheCreateWithFile()
820 if (sscanf(value, "%127s%40s", pwg_keyword, ppd_keyword) != 2) in _ppdCacheCreateWithFile()
838 map->ppd = strdup(ppd_keyword); in _ppdCacheCreateWithFile()
3986 const char *ppd_keyword; /* PPD keyword for enum */ in _ppdCreateFromIPP() local
4080 ppd_keyword = base_keywords[value - IPP_FINISHINGS_NONE]; in _ppdCreateFromIPP()
4082 ppd_keyword = staple_keywords[value - IPP_FINISHINGS_STAPLE_TOP_LEFT]; in _ppdCreateFromIPP()
4084 ppd_keyword = bind_keywords[value - IPP_FINISHINGS_BIND_LEFT]; in _ppdCreateFromIPP()
4086 ppd_keyword = NULL; in _ppdCreateFromIPP()
4088 if (!ppd_keyword) in _ppdCreateFromIPP()
4091 cupsFilePrintf(fp, "*StapleLocation %s: \"\"\n", ppd_keyword); in _ppdCreateFromIPP()
4092 cupsFilePrintf(fp, "*%s.StapleLocation %s/%s: \"\"\n", lang->language, ppd_keyword, msgstr); in _ppdCreateFromIPP()
4093 …sFilePrintf(fp, "*cupsIPPFinishings %d/%s: \"*StapleLocation %s\"\n", value, keyword, ppd_keyword); in _ppdCreateFromIPP()
4160 ppd_keyword = base_keywords[value - IPP_FINISHINGS_NONE]; in _ppdCreateFromIPP()
4162 ppd_keyword = fold_keywords[value - IPP_FINISHINGS_FOLD_ACCORDION]; in _ppdCreateFromIPP()
4164 ppd_keyword = fold_keywords[value - IPP_FINISHINGS_CUPS_FOLD_ACCORDION]; in _ppdCreateFromIPP()
4166 ppd_keyword = NULL; in _ppdCreateFromIPP()
4168 if (!ppd_keyword) in _ppdCreateFromIPP()
4171 cupsFilePrintf(fp, "*FoldType %s: \"\"\n", ppd_keyword); in _ppdCreateFromIPP()
4172 cupsFilePrintf(fp, "*%s.FoldType %s/%s: \"\"\n", lang->language, ppd_keyword, msgstr); in _ppdCreateFromIPP()
4173 cupsFilePrintf(fp, "*cupsIPPFinishings %d/%s: \"*FoldType %s\"\n", value, keyword, ppd_keyword); in _ppdCreateFromIPP()
4248 ppd_keyword = base_keywords[value - IPP_FINISHINGS_NONE]; in _ppdCreateFromIPP()
4250 ppd_keyword = punch_keywords[value - IPP_FINISHINGS_PUNCH_TOP_LEFT]; in _ppdCreateFromIPP()
4252 ppd_keyword = punch_keywords[value - IPP_FINISHINGS_CUPS_PUNCH_TOP_LEFT]; in _ppdCreateFromIPP()
4254 ppd_keyword = NULL; in _ppdCreateFromIPP()
4256 if (!ppd_keyword) in _ppdCreateFromIPP()
4259 cupsFilePrintf(fp, "*PunchMedia %s: \"\"\n", ppd_keyword); in _ppdCreateFromIPP()
4260 cupsFilePrintf(fp, "*%s.PunchMedia %s/%s: \"\"\n", lang->language, ppd_keyword, msgstr); in _ppdCreateFromIPP()
4261 cupsFilePrintf(fp, "*cupsIPPFinishings %d/%s: \"*PunchMedia %s\"\n", value, keyword, ppd_keyword); in _ppdCreateFromIPP()
4336 ppd_keyword = "Auto"; in _ppdCreateFromIPP()
4338 ppd_keyword = trim_keywords[value - IPP_FINISHINGS_TRIM_AFTER_PAGES]; in _ppdCreateFromIPP()
4340 cupsFilePrintf(fp, "*CutMedia %s: \"\"\n", ppd_keyword); in _ppdCreateFromIPP()
4341 cupsFilePrintf(fp, "*%s.CutMedia %s/%s: \"\"\n", lang->language, ppd_keyword, msgstr); in _ppdCreateFromIPP()
4342 cupsFilePrintf(fp, "*cupsIPPFinishings %d/%s: \"*CutMedia %s\"\n", value, keyword, ppd_keyword); in _ppdCreateFromIPP()