模拟 TWAIN 设备
我们公司使用的一些软件仅接受来自“成像设备”的输入,即 TWAIN 设备(例如扫描仪)。
问题是我们以数字方式接收文件,因此使用实际的扫描仪需要我们打印、扫描和粉碎计算机上已有的文档,而不是软件中的文档。
我很好奇是否有人知道我们如何同时解决这个问题。我的第一个想法是找到某种方法来欺骗程序认为我们正在使用扫描仪,通过一些新的“成像设备”,它只会读取文件,并将其吐出给软件,但我什至不这样做知道从哪里开始。
我们提出了一个功能请求,看看应该如何在软件本身中解决这个问题,但该公司因在更新方面严重滞后而臭名昭著。
Our company is using some software that ONLY accepts input from an "Imaging Device" i.e. a TWAIN device (e.g. scanner).
The problem is that we are receiving our files digitally, so using an actual scanner would require us to print, scan, and shred documents that we already have on the computer, but not in the software.
I was curious if anybody has any idea of how we might be able to work around this problem in the meantime. My first thought was to find some way to trick the program into thinking we're using a scanner, via some new 'imaging device' that would just read in the file, and spit it out to the software, but I don't even know where to begin with that.
We put in a feature request, seeing as how this problem should obviously be addressed in the software itself, but the company is notorious for lagging pretty hard when it comes to updates.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
扫描仪使用的系统称为 TWAIN,因此您需要寻找某种虚拟 twain 驱动程序。
快速谷歌搜索会产生几个点击,我自己没有任何使用该软件的经验,所以无法提供任何进一步的建议。
我通过专家交流找到了两个这样的提供商:
http://www.twaintools.de
http://www.scanpoint-usa.com
The system used by scanners is called TWAIN, so you'd be looking for some sort of virtual twain driver.
A quick google search will produce several hits, I don't have any experience with the software myself so can't advise any further.
Two such providers I found via experts exchange:
http://www.twaintools.de
http://www.scanpoint-usa.com
好的,晚了几个月......但如果您感兴趣,我有一个 TWAIN 驱动程序框架/工具包,可以让您相当轻松地构建它,具体取决于您的扫描应用程序的期望,以及从您的扫描仪读取图像的难度。数字文档。这是一个 Microsoft Visual C++ 项目。免费,但您需要我们的许可才能基于它重新分发驱动程序:GenDS
TWAIN 工作组还有一个示例/框架驱动程序,我认为它是直接 C 语言 - 并且曾经有一些相当严重的错误(为什么我写了我的;-)但是,它可能会变得更好。
在其下载页面上查找“示例数据源和应用程序”。
当然,我有一个 GenDS 的“商业”版本,我用它来根据合同编写 TWAIN 驱动程序。
OK, months late... but in case you are interested, I have a TWAIN driver framework/toolkit that might let you build this fairly easily, depending on just what your scanning app expects, and how hard it is to read images from your digital documents. It's a Microsoft Visual C++ project. No charge but you'd need our permission to redistribute a driver based on it: GenDS
The TWAIN Working Group also has a sample/skeleton driver, I think it's straight C - and used to have some rather bad bugs (Why I wrote mine ;-) but, it might have got better.
Look for the "sample data source and application" on their download page.
And of course I have a 'commercial' version of GenDS that I use to write TWAIN drivers on contract.