Searched refs:pwg_size (Results 1 – 3 of 3) sorted by relevance
/external/libcups/tools/ |
D | ippeveprinter.c | 4742 pwg_size_t *pwg_size, /* Current PWG size */ in load_ppd_attributes() local 4864 for (i = 0, pwg_size = pc->sizes; i < pc->num_sizes; i ++, pwg_size ++) in load_ppd_attributes() 4866 if (!strcmp(pwg_size->map.ppd, ppd_size->name)) in load_ppd_attributes() 4868 default_size = pwg_size; in load_ppd_attributes() 4880 for (i = 0, pwg_size = pc->sizes; i < pc->num_sizes; i ++, pwg_size ++) in load_ppd_attributes() 4882 if (!strcmp(pwg_size->map.ppd, "Letter") || !strcmp(pwg_size->map.ppd, "A4")) in load_ppd_attributes() 4884 default_size = pwg_size; in load_ppd_attributes() 5021 … num_margins = 0, pwg_size = pc->sizes; i < pc->num_sizes && num_margins < (int)(sizeof(margins) /… in load_ppd_attributes() 5025 if (margins[j] == pwg_size->bottom) in load_ppd_attributes() 5030 margins[num_margins ++] = pwg_size->bottom; in load_ppd_attributes() [all …]
|
/external/libcups/filter/ |
D | rastertopwg.c | 50 pwg_size_t *pwg_size; /* PWG media size */ in main() local 263 (pwg_size = _ppdCacheGetSize(cache, inheader.cupsPageSizeName)) != NULL) in main() 265 strlcpy(outheader.cupsPageSizeName, pwg_size->map.pwg, in main()
|
/external/libcups/cups/ |
D | ppd-cache.c | 998 pwg_size_t *pwg_size; /* Current PWG size */ in _ppdCacheCreateWithPPD() local 1063 for (i = ppd->num_sizes, pwg_size = pc->sizes, ppd_size = ppd->sizes; in _ppdCacheCreateWithPPD() 1175 new_size = pwg_size ++; in _ppdCacheCreateWithPPD() 3485 const char *pwg_size = ippGetString(attr, i, NULL); in _ppdCreateFromIPP() local 3489 if ((pwg = pwgMediaForPWG(pwg_size)) != NULL) in _ppdCreateFromIPP() 3491 if (strstr(pwg_size, "_max_") || strstr(pwg_size, "_max.")) in _ppdCreateFromIPP() 3498 else if (strstr(pwg_size, "_min_") || strstr(pwg_size, "_min.")) in _ppdCreateFromIPP()
|