Skip to content

Commit 708dd17

Browse files
authored
Merge pull request #713 from dynamsoft-docs/kyle-eSCL
Kyle e scl
2 parents 726630b + 648e437 commit 708dd17

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

indepth/features/input.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,25 @@ A local scanner refers to a scanner that is plugged in the same desktop via USB
2222

2323
> As far as `Dynamic Web TWAIN` is concerned, a network scanner is just like a local scanner because its driver has taken care of the network connection behind the scene.
2424
25+
### Scan From an eSCL Scanner
26+
Many modern scanners and multi-functional printers (MFPs) support the eSCL protocol. The protocol is a vendor-neutral network protocol that allows driverless scanning via ethernet, wireless and USB-connected devices. eSCL-compatible scanners advertise themselves via mDNS so that we can find them easily. mDNS is a zero-configuration service. It is implemented by Apple Bonjour and the open-source Avahi software packages.
27+
> See [this blog post](https://www.dynamsoft.com/blog/announcement/dynamic-web-twain-escl-scanner/) for more information about eSCL.
28+
29+
- To scan from an eSCL Scanner to PC, the Dynamsoft Service must be installed on the client PC
30+
- To scan from an eSCL Scanner to Android, you must install the Android Service on the client device from the [Play Store](https://play.google.com/store/apps/details?id=com.dynamsoft.mobilescan).
31+
32+
The following code shows how one way to acquire the image via the eSCL protocol.
33+
``` javascript
34+
//Get the list of available eSCL scanners
35+
let esclDeviceList=await DWObject.GetDevicesAsync(Dynamsoft.DWT.EnumDWT_DeviceType.ESCLSCANNER)
36+
37+
//Select the desired scanner from the list
38+
await DWObject.SelectDeviceAsync(esclDeviceList[0])
39+
40+
//Acquire image (with configuration)
41+
await DWObject.AcquireImageAsync({Resolution:100,IfShowUI:false})
42+
```
43+
2544
## Capture from cameras
2645

2746
### Use [DirectShow Cameras]({{site.getstarted}}hardware.html#directshow-cameras)

0 commit comments

Comments
 (0)