Lines Matching refs:ppd_attr
967 ppd_attr_t *ppd_attr; /* Current PPD preset attribute */ in _ppdCacheCreateWithPPD() local
1350 if ((ppd_attr = ppdFindAttr(ppd, "APPrinterPreset", NULL)) != NULL) in _ppdCacheCreateWithPPD()
1364 num_options = _ppdParseOptions(ppd_attr->value, 0, &options, in _ppdCacheCreateWithPPD()
1438 _ppdParseOptions(ppd_attr->value, 0, in _ppdCacheCreateWithPPD()
1445 while ((ppd_attr = ppdFindNextAttr(ppd, "APPrinterPreset", NULL)) != NULL); in _ppdCacheCreateWithPPD()
1593 if ((ppd_attr = ppdFindAttr(ppd, "cupsFilter2", NULL)) != NULL) in _ppdCacheCreateWithPPD()
1597 cupsArrayAdd(pc->filters, ppd_attr->value); in _ppdCacheCreateWithPPD()
1599 while ((ppd_attr = ppdFindNextAttr(ppd, "cupsFilter2", NULL)) != NULL); in _ppdCacheCreateWithPPD()
1621 ((ppd_attr = ppdFindAttr(ppd, "cupsCommands", NULL)) == NULL || in _ppdCacheCreateWithPPD()
1622 _cups_strcasecmp(ppd_attr->value, "none"))) in _ppdCacheCreateWithPPD()
1643 if ((ppd_attr = ppdFindAttr(ppd, "cupsPreFilter", NULL)) != NULL) in _ppdCacheCreateWithPPD()
1651 cupsArrayAdd(pc->prefilters, ppd_attr->value); in _ppdCacheCreateWithPPD()
1653 while ((ppd_attr = ppdFindNextAttr(ppd, "cupsPreFilter", NULL)) != NULL); in _ppdCacheCreateWithPPD()
1656 if ((ppd_attr = ppdFindAttr(ppd, "cupsSingleFile", NULL)) != NULL) in _ppdCacheCreateWithPPD()
1657 pc->single_file = !_cups_strcasecmp(ppd_attr->value, "true"); in _ppdCacheCreateWithPPD()
1670 if ((ppd_attr = ppdFindAttr(ppd, "cupsIPPFinishings", NULL)) != NULL) in _ppdCacheCreateWithPPD()
1685 finishings->value = (ipp_finishings_t)atoi(ppd_attr->spec); in _ppdCacheCreateWithPPD()
1686 finishings->num_options = _ppdParseOptions(ppd_attr->value, 0, in _ppdCacheCreateWithPPD()
1692 while ((ppd_attr = ppdFindNextAttr(ppd, "cupsIPPFinishings", in _ppdCacheCreateWithPPD()
1808 if ((ppd_attr = ppdFindAttr(ppd, "cupsMaxCopies", NULL)) != NULL) in _ppdCacheCreateWithPPD()
1809 pc->max_copies = atoi(ppd_attr->value); in _ppdCacheCreateWithPPD()
1820 if ((ppd_attr = ppdFindAttr(ppd, "cupsChargeInfoURI", NULL)) != NULL) in _ppdCacheCreateWithPPD()
1821 pc->charge_info_uri = _cupsStrAlloc(ppd_attr->value); in _ppdCacheCreateWithPPD()
1823 if ((ppd_attr = ppdFindAttr(ppd, "cupsJobAccountId", NULL)) != NULL) in _ppdCacheCreateWithPPD()
1824 pc->account_id = !_cups_strcasecmp(ppd_attr->value, "true"); in _ppdCacheCreateWithPPD()
1826 if ((ppd_attr = ppdFindAttr(ppd, "cupsJobAccountingUserId", NULL)) != NULL) in _ppdCacheCreateWithPPD()
1827 pc->accounting_user_id = !_cups_strcasecmp(ppd_attr->value, "true"); in _ppdCacheCreateWithPPD()
1829 if ((ppd_attr = ppdFindAttr(ppd, "cupsJobPassword", NULL)) != NULL) in _ppdCacheCreateWithPPD()
1830 pc->password = _cupsStrAlloc(ppd_attr->value); in _ppdCacheCreateWithPPD()
1832 if ((ppd_attr = ppdFindAttr(ppd, "cupsMandatory", NULL)) != NULL) in _ppdCacheCreateWithPPD()
1833 pc->mandatory = _cupsArrayNewStrings(ppd_attr->value, ' '); in _ppdCacheCreateWithPPD()
1843 for (ppd_attr = ppdFindAttr(ppd, "cupsICCProfile", NULL); in _ppdCacheCreateWithPPD()
1844 ppd_attr; in _ppdCacheCreateWithPPD()
1845 ppd_attr = ppdFindNextAttr(ppd, "cupsICCProfile", NULL)) in _ppdCacheCreateWithPPD()
1846 cupsArrayAdd(pc->support_files, ppd_attr->value); in _ppdCacheCreateWithPPD()
1848 if ((ppd_attr = ppdFindAttr(ppd, "APPrinterIconPath", NULL)) != NULL) in _ppdCacheCreateWithPPD()
1849 cupsArrayAdd(pc->support_files, ppd_attr->value); in _ppdCacheCreateWithPPD()