Lines Matching refs:yres
40 static void pwg_ppdize_resolution(ipp_attribute_t *attr, int element, int *xres, int *yres, char *n…
2951 int xres, yres; /* Resolution values */ in _ppdCreateFromIPP() local
3969 pwg_ppdize_resolution(attr, count / 2, &xres, &yres, ppdname, sizeof(ppdname)); in _ppdCreateFromIPP()
3977 pwg_ppdize_resolution(attr, 0, &xres, &yres, NULL, 0); in _ppdCreateFromIPP()
3978 …t/%s: \"<</HWResolution[%d %d]>>setpagedevice\"\n", _cupsLangString(lang, _("Draft")), xres, yres); in _ppdCreateFromIPP()
3980 pwg_ppdize_resolution(attr, count / 2, &xres, &yres, NULL, 0); in _ppdCreateFromIPP()
3981 …/%s: \"<</HWResolution[%d %d]>>setpagedevice\"\n", _cupsLangString(lang, _("Normal")), xres, yres); in _ppdCreateFromIPP()
3985 pwg_ppdize_resolution(attr, count - 1, &xres, &yres, NULL, 0); in _ppdCreateFromIPP()
3987 pwg_ppdize_resolution(attr, 0, &xres, &yres, NULL, 0); in _ppdCreateFromIPP()
3988 …gh/%s: \"<</HWResolution[%d %d]>>setpagedevice\"\n", _cupsLangString(lang, _("High")), xres, yres); in _ppdCreateFromIPP()
4048 pwg_ppdize_resolution(attr, 0, &xres, &yres, ppdname, sizeof(ppdname)); in _ppdCreateFromIPP()
4052 xres = yres = 300; in _ppdCreateFromIPP()
4062 …t/%s: \"<</HWResolution[%d %d]>>setpagedevice\"\n", _cupsLangString(lang, _("Draft")), xres, yres); in _ppdCreateFromIPP()
4063 …/%s: \"<</HWResolution[%d %d]>>setpagedevice\"\n", _cupsLangString(lang, _("Normal")), xres, yres); in _ppdCreateFromIPP()
4065 …gh/%s: \"<</HWResolution[%d %d]>>setpagedevice\"\n", _cupsLangString(lang, _("High")), xres, yres); in _ppdCreateFromIPP()
4343 int *yres, /* O - Y resolution in DPI */ in pwg_ppdize_resolution() argument
4350 *xres = ippGetResolution(attr, element, yres, &units); in pwg_ppdize_resolution()
4355 *yres = (int)(*yres * 2.54); in pwg_ppdize_resolution()
4360 if (*xres == *yres) in pwg_ppdize_resolution()
4363 snprintf(name, namesize, "%dx%ddpi", *xres, *yres); in pwg_ppdize_resolution()