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