Home › Forums › TWAIN Classic › Double-sided scanner and single scanner data source
- This topic has 5 replies, 4 voices, and was last updated 10 years, 5 months ago by ericward.
- AuthorPosts
Our company has some single-sided and double-sided scanner, if compatible with Twain should be driven to the data source support single-sided and double-sided, I want to ask, in the nativeXfer mode, single-sided scanner is a transmission of an DIB data, the double-sided scanner is two the DIB data in a transmitting or a separate DIB data and a DIB data it (that is, send two times or once?)
我们公司有一些单面和双面的扫描仪,如果用twain兼容的话应该是要数据源DS支持单面和双面的驱动,我想问,在本地传输方式,单面扫描仪是传输一个DIB数据,那双面扫描仪是将两个面的DIB数据综合在一块发送还是分开一个DIB数据接着一个DIB数据发呢(即是,发送两次还是一次?)Normally, a call to DG_IMAGE / DAT_IMAGENATIVEXFER /MSG_GET transfers just one side of a sheet of paper.
If the scanner is simplex, then just one call is needed per sheet of paper.
If the scanner is duplex, then two calls are needed per sheet of paper (one for the front and one for the rear).
Version 2.1 of the TWAIN Specification introduced ICAP_IMAGEMERGE, which allows an application to request a single merged image from the front and rear data. If the TWAIN driver supports this feature, then it is possible for the application to transfer both the front and rear images with a single call to DAT_IMAGENATIVEXFER.
if your scanner is still in error, i can recommend you another way to do twain scanning. you can use an imaging sdk which contains such function, firstly, you should put the file yoy want to read to the sdk and then follow the steps given in the turioal and the sacnning might be completed. you can have a try.
@MarkM wrote:
Normally, a call to DG_IMAGE / DAT_IMAGENATIVEXFER /MSG_GET transfers just one side of a sheet of paper.
If the scanner is simplex, then just one call is needed per sheet of paper.
If the scanner is duplex, then two calls are needed per sheet of paper (one for the front and one for the rear).
Version 2.1 of the TWAIN Specification introduced ICAP_IMAGEMERGE, which allows an application to request a single merged image from the front and rear data. If the TWAIN driver supports this feature, then it is possible for the application to transfer both the front and rear images with a single call to DAT_IMAGENATIVEXFER.
HI,MarkM, You said that the TWAIN2.1 supports the ICAP_IMAGEMERGE property, then set this property to APP will be a hybrid image is split into two images saved? DS is also required transmission support TWAIN2.1 before two times to achieve double scan?
你好,MarkM,你说的TWAIN2.1支持ICAP_IMAGEMERGE属性,设置这个属性之后APP会将一张混合图像拆分为两张图像保存吗?DS还需要支持TWAIN2.1之前的传输两次来实现双面扫描吗?.
I want to integrate twain scanning control into Windows application, is it possible?Does Twainforum support this kind of .net imaging function?
- AuthorPosts