Lines Matching refs:reason
238 const char *reason, /* I - IPP reason keyword to look up */ in ppdLocalizeIPPReason() argument
260 if (!ppd || !reason || (scheme && !*scheme) || in ppdLocalizeIPPReason()
274 if ((locattr = _ppdLocalizedAttr(ppd, "cupsIPPReason", reason, in ppdLocalizeIPPReason()
276 locattr = ppdFindAttr(ppd, "cupsIPPReason", reason); in ppdLocalizeIPPReason()
280 if (lang && (!scheme || !strcmp(scheme, "text")) && strcmp(reason, "none")) in ppdLocalizeIPPReason()
288 if (!strncmp(reason, "media-needed", 12)) in ppdLocalizeIPPReason()
290 else if (!strncmp(reason, "media-jam", 9)) in ppdLocalizeIPPReason()
292 else if (!strncmp(reason, "offline", 7) || in ppdLocalizeIPPReason()
293 !strncmp(reason, "shutdown", 8)) in ppdLocalizeIPPReason()
295 else if (!strncmp(reason, "toner-low", 9)) in ppdLocalizeIPPReason()
297 else if (!strncmp(reason, "toner-empty", 11)) in ppdLocalizeIPPReason()
299 else if (!strncmp(reason, "cover-open", 10)) in ppdLocalizeIPPReason()
301 else if (!strncmp(reason, "interlock-open", 14)) in ppdLocalizeIPPReason()
303 else if (!strncmp(reason, "door-open", 9)) in ppdLocalizeIPPReason()
305 else if (!strncmp(reason, "input-tray-missing", 18)) in ppdLocalizeIPPReason()
307 else if (!strncmp(reason, "media-low", 9)) in ppdLocalizeIPPReason()
309 else if (!strncmp(reason, "media-empty", 11)) in ppdLocalizeIPPReason()
311 else if (!strncmp(reason, "output-tray-missing", 19)) in ppdLocalizeIPPReason()
313 else if (!strncmp(reason, "output-area-almost-full", 23)) in ppdLocalizeIPPReason()
315 else if (!strncmp(reason, "output-area-full", 16)) in ppdLocalizeIPPReason()
317 else if (!strncmp(reason, "marker-supply-low", 17)) in ppdLocalizeIPPReason()
319 else if (!strncmp(reason, "marker-supply-empty", 19)) in ppdLocalizeIPPReason()
321 else if (!strncmp(reason, "marker-waste-almost-full", 24)) in ppdLocalizeIPPReason()
323 else if (!strncmp(reason, "marker-waste-full", 17)) in ppdLocalizeIPPReason()
325 else if (!strncmp(reason, "fuser-over-temp", 15)) in ppdLocalizeIPPReason()
327 else if (!strncmp(reason, "fuser-under-temp", 16)) in ppdLocalizeIPPReason()
329 else if (!strncmp(reason, "opc-near-eol", 12)) in ppdLocalizeIPPReason()
331 else if (!strncmp(reason, "opc-life-over", 13)) in ppdLocalizeIPPReason()
333 else if (!strncmp(reason, "developer-low", 13)) in ppdLocalizeIPPReason()
335 else if (!strncmp(reason, "developer-empty", 15)) in ppdLocalizeIPPReason()