Lines Matching defs:optptr
67 cups_option_t *optptr; /* Current option */
255 for (i = num_options, optptr = options; i > 0; i --, optptr ++)
256 if (!_cups_strcasecmp(optptr->name, "media") ||
257 !_cups_strcasecmp(optptr->name, "output-bin") ||
258 !_cups_strcasecmp(optptr->name, "output-mode") ||
259 !_cups_strcasecmp(optptr->name, "print-quality") ||
260 !_cups_strcasecmp(optptr->name, "sides"))
262 else if (!_cups_strcasecmp(optptr->name, "resolution") ||
263 !_cups_strcasecmp(optptr->name, "printer-resolution"))
265 ppd_mark_option(ppd, "Resolution", optptr->value);
266 ppd_mark_option(ppd, "SetResolution", optptr->value);
268 ppd_mark_option(ppd, "JCLResolution", optptr->value);
270 ppd_mark_option(ppd, "CNRes_PGP", optptr->value);
273 else if (!_cups_strcasecmp(optptr->name, "multiple-document-handling"))
278 if (_cups_strcasecmp(optptr->value, "separate-documents-uncollated-copies"))
284 else if (!_cups_strcasecmp(optptr->name, "finishings"))
290 for (ptr = optptr->value; *ptr;)
325 else if (!_cups_strcasecmp(optptr->name, "APPrinterPreset"))
331 if ((attr = ppdFindAttr(ppd, "APPrinterPreset", optptr->value)) != NULL)
340 else if (!_cups_strcasecmp(optptr->name, "mirror"))
341 ppd_mark_option(ppd, "MirrorPrint", optptr->value);
343 ppd_mark_option(ppd, optptr->name, optptr->value);
442 ppd_option_t *optptr; /* Current option */
446 for (j = group->num_options, optptr = group->options;
448 j --, optptr ++)
449 if (!_cups_strcasecmp(optptr->keyword, option))
450 return (optptr);