Lines Matching refs:ppd_size
970 ppd_size_t *ppd_size; /* Current PPD size */ in _ppdCacheCreateWithPPD() local
1033 for (i = ppd->num_sizes, pwg_size = pc->sizes, ppd_size = ppd->sizes; in _ppdCacheCreateWithPPD()
1035 i --, ppd_size ++) in _ppdCacheCreateWithPPD()
1041 if (!_cups_strcasecmp(ppd_size->name, "Custom")) in _ppdCacheCreateWithPPD()
1048 if ((pwg_media = pwgMediaForPPD(ppd_size->name)) != NULL) in _ppdCacheCreateWithPPD()
1082 pwg_unppdize_name(ppd_size->name, ppd_name, sizeof(ppd_name), "_."); in _ppdCacheCreateWithPPD()
1084 PWG_FROM_POINTS(ppd_size->width), in _ppdCacheCreateWithPPD()
1085 PWG_FROM_POINTS(ppd_size->length), NULL); in _ppdCacheCreateWithPPD()
1094 if ((pwg_media = _pwgMediaNearSize(PWG_FROM_POINTS(ppd_size->width), in _ppdCacheCreateWithPPD()
1095 PWG_FROM_POINTS(ppd_size->length), in _ppdCacheCreateWithPPD()
1101 new_left = PWG_FROM_POINTS(ppd_size->left); in _ppdCacheCreateWithPPD()
1102 new_bottom = PWG_FROM_POINTS(ppd_size->bottom); in _ppdCacheCreateWithPPD()
1103 new_right = PWG_FROM_POINTS(ppd_size->width - ppd_size->right); in _ppdCacheCreateWithPPD()
1104 new_top = PWG_FROM_POINTS(ppd_size->length - ppd_size->top); in _ppdCacheCreateWithPPD()
1155 new_size->map.ppd = _cupsStrAlloc(ppd_size->name); in _ppdCacheCreateWithPPD()