[sane-devel] Does driver know it is scannning or previewing now with XSane?

m. allan noah kitno455 at gmail.com
Thu Jun 19 13:11:06 UTC 2008

sorry- response should have gone to list...

On Thu, Jun 19, 2008 at 9:10 AM, m. allan noah <kitno455 at gmail.com> wrote:
> 2008/6/18 eagleskycloud <eagleskycloud at gmail.com>:
>> Hi,
>> I have two question :
>>   1.To scan multi images,input a number in left corner edit box to indicate
>> the image number of XSane would scan
>>     There is a sensor In ADF.  It  could detecte are there papers in
>> ADF.Upper application could know whether there are papers in ADF by status
>> of the sensor. Which is the better way to achieve scanning multi images
>> between input a number of scanning image and add a function?
> Xsane's multi-page support is not as good as other front-ends, so you
> should not think that is the only way to do it. in fact, most other
> multi-page capable front-ends just scan until the backend returns
> SANE_STATUS_NO_DOCS, if that is 1 page or 100 pages.
> you can expose the sensor, as we have added some well-known option
> names for this with sane 1.1. (which still needs the spec to be
> updated, but i've not had time)
>>  2.Does driver know it is scannning or previewing now with XSane?
>>     I have achieved ADF duplex scan. I want to know how to judge it is
>> scanning or previewing in my driver ,so I could  handle the ADF duplex
>> preview
> there is a preview option mentioned in the standard, but it does not
> seem to be implemented consistently, and i dont know if xsane calls
> it.
> how will your scanner act differently in preview mode? isn't it just
> the same as any other low resolution scan?

"The truth is an offense, but not a sin"

More information about the sane-devel mailing list