Image Capture supports 2 types of scanner modules: ICA scanner modules
and TWAIN DSs. It is a lot easier to write an ICA scanner module. Our
current SDK ( http://developer.apple.com/sdk/index.html#ImageCapture )
includes source code for the Type1Scanner, which supports a lot of
existing Epson scanners. The SDK also includes sample source ( Sample
DS ) and documentation for creating an ICA compliance TWAIN DS.
However, the Sample DS is not readily in compliance with the ICA
because of the following:
1. The currently ICA workflow is triggered by a "hot-plug" action.
Since the Sample DS is not mapped to any device ( USB or FireWire ),
there's nothing to plug in and initiate an ICA workflow.
2. The Sample DS also does not include the extra items required for
ICA. The extra items are the device information in the info.plist and
a DeviceInfo.plist containing additional information about the DS. The
TWAIN SDK.pdf has detailed information about these extra requirements.
If you want to add support for your device from scratch, it might be
easier to create an ICA scanner module. If you want to play and learn
the TWAIN protocol, it is also easy to map the Sample DS to a dummy
device ( e.g a mouse ). Just follow the instruction on the TWAIN
SDK.pdf. All you need is to add an USB entry for your dummy device and
create a DeviceInfo.plist.
Most of the Epson scanners should be compatible with Image Capture (
via native module or TWAIN DS ). HP also has a number of ICA
compatible scanner and multi-function devices. I do not have a list
though.
If you open the info.plist for the EPSON Scanner module (
/Library/Image Capture/Devices/EPSON Scanner ), you'll see that it
supports 8 FireWire devices and 20 USB devices.
--Dino
On Oct 4, 2004, at 12:44 PM, George Lawrence Storm wrote:
I am being totally frustrated getting started with Image Capture.
The HP scanner I have does not have the appropriate TWAIN data source
and as normal their customer support is less than totally useless.
I built and installed the "SampleDS" and did see it with
"TWAIN_DS_Tester" but never with the "Image Capture Browser" or with
"SampleScannerAppPanther".
As an attempt to test "SampleScannerAppPanther" I took my PowerBook to
the Apple store and connected a few of their Epson scanners,
downloaded the drivers from the Epson site and tried to run the the
sample application. In all cases the application reported that no
scanner could be found. I also ran "TWAIN_DS_Tester" and "Image
Capture Browser" and could not find any of the scanners I tried to
connect.
Is there a list of scanners which are confirmed to be compatible with
Image Capture & 10.3.5 so I can borrow one to get started with adding
support for scanning with the TWAIN ds?
Is there a (scanner less) data source I can use during my initial
testing so I can at least see the sample code running?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden