双张状态从获取图片信息的接口sane_get_parameters返回: SCANNER_ERR_DEVICE_DOUBLE_FEEDING
This commit is contained in:
parent
cc0d64f17d
commit
dad78e3b20
|
@ -4010,6 +4010,11 @@ int hg_scanner::get_image_info(SANE_Parameters* ii, int len)
|
||||||
iiex->flag.dpi = resolution_;
|
iiex->flag.dpi = resolution_;
|
||||||
iiex->bytes = imh.bytes;
|
iiex->bytes = imh.bytes;
|
||||||
}
|
}
|
||||||
|
else if (imh.statu)
|
||||||
|
{
|
||||||
|
if (imh.statu == IMG_STATUS_DOUBLE)
|
||||||
|
ret = SCANNER_ERR_DEVICE_DOUBLE_FEEDING;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue