Lines Matching defs:yres
2575 int width, length, xres, yres;
2587 yres = s->val[OPT_Y_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)
2597 s->params.lines = length * yres / s->hw->info.mud / MM_PER_INCH;
2638 int i, nwin, id, xres, yres, xmax, ymax;
2665 yres = s->val[OPT_Y_RESOLUTION].w;
2666 if (yres < s->hw->info.resMinY || yres > s->hw->info.resMaxY)
2668 DBG (DBG_error, "YRESOLUTION %d IS NOT WITHIN [%d, %d]\n", yres,
2768 _lto2b (yres, &data->yres[0]); /* Set Y resolution */