Searched refs:ppdname (Results 1 – 2 of 2) sorted by relevance
/external/libcups/cups/ |
D | ppd-cache.c | 2957 ppdname[PPD_MAX_NAME]; in _ppdCreateFromIPP() local 3239 strlcpy(ppdname, pwg->ppd, sizeof(ppdname)); in _ppdCreateFromIPP() 3241 strlcpy(ppdname, "Unknown", sizeof(ppdname)); in _ppdCreateFromIPP() 3244 strlcpy(ppdname, "Unknown", sizeof(ppdname)); in _ppdCreateFromIPP() 3247 strlcpy(ppdname, pwg->ppd, sizeof(ppdname)); in _ppdCreateFromIPP() 3249 strlcpy(ppdname, "Unknown", sizeof(ppdname)); in _ppdCreateFromIPP() 3257 "*DefaultPageSize: %s\n", ppdname); in _ppdCreateFromIPP() 3300 "*DefaultPageRegion: %s\n", ppdname); in _ppdCreateFromIPP() 3336 "*DefaultPaperDimension: %s\n", ppdname, ppdname); in _ppdCreateFromIPP() 3386 pwg_ppdize_name(ippGetString(attr, 0, NULL), ppdname, sizeof(ppdname)); in _ppdCreateFromIPP() [all …]
|
D | ppd-util.c | 190 char ppdname[1024]; /* PPD filename */ in cupsGetPPD3() local 194 snprintf(ppdname, sizeof(ppdname), "%s/ppd/%s.ppd", cg->cups_serverroot, in cupsGetPPD3() 196 if (!stat(ppdname, &ppdinfo) && !access(ppdname, R_OK)) in cupsGetPPD3() 206 if (symlink(ppdname, buffer) && errno != EEXIST) in cupsGetPPD3() 277 if (!symlink(ppdname, buffer)) in cupsGetPPD3()
|