Lines Matching defs:xres
310 int xres, yres;
312 xres = ippGetResolution(attr, i, &yres, &units);
314 if (xres == yres)
315 printf(" %d%s\n", xres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm");
317 printf(" %dx%d%s\n", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm");
626 int xres, yres;
628 xres = ippGetResolution(attr, i, &yres, &units);
630 if (xres == yres)
631 printf(" %d%s\n", xres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm");
633 printf(" %dx%d%s\n", xres, yres, units == IPP_RES_PER_INCH ? "dpi" : "dpcm");