2009/8/17 K?re S?rs <kare.sars at iki.fi>: > 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().
Yes- the backend should make an attempt to at least guess the width of the scan prior to sane_start(). Does the original epson backend do this? allan -- "The truth is an offense, but not a sin"