[sane-devel] epson2 problem

Kåre Särs kare.sars at iki.fi
Mon Aug 17 20:39:58 UTC 2009


Hi,

In libksane I try to figure out a suitable scanning resolution by starting with 
100 DPI, increasing the DPI with 100 until I reach 300 pixels height or width. 
The problem with epson2 is that the "pixels_per_line" parameter returned by 
sane_get_parameters() is always 0. This means that the hard-coded limit of 900 
DPI is always reached (or the closest one).

From the standard I understood that the value would be "best-effort estimates" 
before scan_start().

Thanks,
  Kåre



More information about the sane-devel mailing list