Lines Matching defs:xres
2575 int width, length, xres, yres;
2586 xres = s->val[OPT_X_RESOLUTION].w;
2589 ">>sane_get_parameters: (W/L)=(%d/%d) (xres/yres)=(%d/%d) mud=%d\n",
2590 width, length, xres, yres, s->hw->info.mud);
2593 if (xres > 0 && yres > 0 && width > 0 && length > 0)
2596 width * xres / s->hw->info.mud / MM_PER_INCH;
2638 int i, nwin, id, xres, yres, xmax, ymax;
2656 xres = s->val[OPT_X_RESOLUTION].w;
2657 if (xres < s->hw->info.resMinX || xres > s->hw->info.resMaxX)
2659 DBG (DBG_error, "XRESOLUTION %d IS NOT WITHIN [%d, %d]\n", xres,
2767 _lto2b (xres, &data->xres[0]); /* Set X resolution */