How to verify if my scanner driver is TWAIN compatible? - twain

We have a application which integrates a 3rd party scanning component - Dynam .NET TWAIN. It's working well with my HP scanjet 5700. Recently, we got Cannon LiDE210 but it doesn't work. I finally noticed that our application needs to work with TWAIN compatible drivers.
How can I verify if my scanner driver supports TWAIN? We are going to send the application to other customers. I am looking for a easy way to find out if my clients' scanners support TWAIN.
Thank you.

There is a handy tools called TWACKER...Make sure you run it as admin. Choose File->Select Source, and see if your scanner is listed there. If your scanner is listed, it means you are using a TWAIN driver, in which you can have a further scanning with different scanning settings to check your scanner's TWAIN compatibility. Otherwise, you need to find a TWAIN drvier for your scanner.
You can download TWACKER on http://www.twain.org/scannerdriverdevelopers/specification-and-tools.html .
Cheers.

Inspector Twain could be what you're looking for.
http://inspectortwain.com/

I'm sure the Canon LiDE 210 is TWAIN compatible, or rather, has a TWAIN driver. If it isn't working with your Dynamsoft software, they (Dynamsoft) would be the first place to go for support.
But before you contact Dynamsoft, you should check that you have the correct Canon TWAIN driver installed for your version of Windows, and that it can scan from your scanner.
For some reason, Canon Asia has a better page on this driver than Canon USA:
http://support-asia.canon-asia.com/contents/ASIA/EN/0100294501.html
I hope I don't need to say this: You should only download and install drivers from the scanner vendor's website(s)!
To verify that a TWAIN driver is working, I & my colleagues often scan from IrfanView - it's free, millions of copies in use, and has code that works with pretty much any TWAIN driver. If IrfanView can't scan from your scanner, the TWAIN drive either isn't installed or isn't working - at that point you should look to the scanner vendor for support, in this case, Canon.
PS I admire Irfan Skiljan's work, but have no other connection with IrfanView.
PPS As you may have figured out by now (especially if you played with Twacker or Inspector Twain), "TWAIN Compatibility" isn't an all-or-nothing thing. Different scanners support different sets of TWAIN features, and nearly every TWAIN driver violates the TWAIN standard in SOME way. But don't get me started on that. ;-)

Related

Cannot open include file dplay8.h .No such file or directory

We are converting directx9 to directx10 and we are getting an error: Cannot open include file :dplay8.h .
Please provide the solution how to resolve this and also the steps that might required to convert from directx9 to direct10.
DirectPlay is a deprecated legacy component. The last version of the legacy DirectX SDK to include the headers for it was August 2007. See DirectX SDKs of a certain age. It is not available in any Windows SDK.
It exists in the Windows operating system today for appcompat only. There are a number of important limitations to keep in mind:
DirectPlay Voice is not supported on Windows Vista or later operating systems. See KB970978
The NAT helper object is unsupported on Windows Vista or later
On Windows 8.x and Windows 10, DirectPlay is an optional Windows feature so it's not present by default. It has to be enabled by the user.
In short, you shouldn't use it. You should plan to rewrite the multiplayer support for that porting project, or strip it out.
DirectPlay's primary value was back when networking was a complex and evolving world: modem play, head-to-head serial ports, IPX/SPX, TCP/IP over modem, and TCP/IP. At this point TCP/IP is the only network solution that matters so using WinSock directly is far preferable. There's are also a number of security implications around use of UDP (datagram) vs. TCP (virtual circuit) that modern games need to take into account. The lobby mechanism of DirectPlay is also woefully outdated.
There are numerous modern game services (such as Xbox LIVE, Valve's Steam, etc.) that are designed to provide the match-making, NAT-traversal, and other features that are essential to modern multiplayer. You use WinSock in combination with service-specific libraries.
In a related note, there is absolutely no reason to use DirectX 10. DirectX 11 supports much more hardware, is supported on all the same operating systems (Windows Vista SP2+), and has numerous replacements for legacy support libraries that don't exist for Direct3D 10.

Web Drivers Explained

Can someone explain drivers to me, in the context of application testing.
Take Capybara for instance...it says it supports multiple drivers. I am having a hard time understanding exactly what they are, and how they relate to Capybara, Gherkin, etc.
The drivers capybara supports (rack-test driver, selenium driver, poltergeist, capybara-webkit, ...) are the code that interfaces between the Capybara API and whatever tool is being used to test (rack-test, selenium, phantomjs, qt-webkit, etc). So when you write page.find :css, '#abcdefg' the driver converts that to the correct instructions for whatever is actually driving the browser. They have no relation to Gherkin at all.

Do Chromebooks offer adequate offline programability?

Do Chromebooks offer adequate programming capabilities offline?
I can never guarantee my WiFi access.
I know I can access local files, and being Linux-based, what does this mean for programming offline?
Also, I am returning to obtain my MSc in IT. Would this be a good purchase for such a cause? I am focusing on web development (HTML, JavaScript, Rails).
I want to know specifically if a Chromebook (I have my eyes on the Acer C720) can get the work done. True, I'll probably rare ever be offline, but I want to know if I'll be able to both edit code, then run it to troubleshoot.
My main points: editing and running code on a Chromebook. Also, could I amend the drawback by running Windows or Linux (ie, Ubuntu, Mint)?Thanks guys for any advice.
I use an Acer C720 Chromebook (2GB RAM, 16GB SSD) as my Meteor (Javascript, HTML. CSS, MongoDB) development machine. The specs may sound poor but in reality - thanks to the fantastic Haswell chip - the laptop is great.
I have Xubuntu installed instead of ChromeOS... so maybe that is not a real answer to your question.
It's a fantastic little machine - long battery life and boots in a few seconds. I tried Bodhi Linux first but find Xubuntu better for my needs.
I expanded the storage using a keep-in tiny UltraFit 64GB USB 3.0 flash key. Amazing device.
I use an HDMI monitor when doing longer coding sessions.
Device cost me $150 on eBay and around $25 for the USB key.
I use the free http://komodoide.com/komodo-edit/ as my editor.
If you feel like taking the plunge and converting from ChromeOS to Xubuntu, these two links may help:
BIOS changes: https://blogs.fsfe.org/the_unconventional/2014/09/19/c720-coreboot/
Xubuntu distribution: https://www.distroshare.com/distros/get/14/
Good luck and enjoy!

Simulating a TWAIN Device

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.
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
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.

In Windows Mobile (5/6) SDK, where did windns.h go?

According to http://msdn.microsoft.com/en-us/library/aa916070.aspx (DnsQuery_W), DNS query libraries are available on Windows Mobile / CE developers for versions 5.0 onwards. Yet, "#include " gives nasty "file not found" errors. What gives?
Strangely enough "dnsapi.lib" is available. Does Microsoft actually expect developers to scavenge the file from somewhere?..
The posted thread here claims that this API is not actually available in Windows Mobile 5 (and perhaps later?), despite claiming otherwise. I looked through the Mobile 5 and 6 SDKs, and didn't see this API either, so perhaps the thread's suggestion might work for you:
If it's a simple host name->IP address
(IPv4 or v6), you can use getnameinfo
in Winsock. The DNSQuery_W is only
needed if you're doing like a
non-A/AAAA query. If you're doing
that, we really don't have any helpers
to do that for you from the OS side -
sorry. You may look around to see if
there's helper library floating around
out there that you may be able to
recompile for CE (assuming you're
comfortable with whatever licensing
agreements they may put on you.)
getnameinfo should be documented here (for Windows Mobile), in case that helps.
If you are really after 'windns.h', I found it in the WM5/WM6/WM6.1 Platform Builders in
\public\common\sdk\inc
The hard part is getting access to the WM Platform Builder if your an ISV. That I can't help you with.

Resources