You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: indepth/features/input.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,32 @@ A local scanner refers to a scanner that is plugged in the same desktop via USB
22
22
23
23
> 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.
24
24
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
+
#### Scan from an eSCL Scanner to PC
30
+
> The Dynamsoft Service must be installed on the client PC
31
+
32
+
```javascript
33
+
//Get a list of eSCL scanners:
34
+
let eSCLDevices =awaitDWObject.GetDevicesAsync(Dynamsoft.DWT.EnumDWT_DeviceType.ESCLSCANNER);
35
+
36
+
//Scan documents from the first eSCL scanner:
37
+
let deviceConfiguration = {Resolution:100,IfShowUI:false}; // scanning configuration. Check out the docs to learn more: https://www.dynamsoft.com/web-twain/docs/info/api/WebTwain_Acquire.html#acquireimage
> Install the Android Service on the client device from the [Play Store](https://play.google.com/store/apps/details?id=com.dynamsoft.mobilescan).
43
+
44
+
```javascript
45
+
let devices =awaitDWObject.GetDevicesAsync(); // get the devices list
46
+
awaitDWObject.SelectDeviceAsync(devices[0]); // select the first device
47
+
let deviceConfiguration = {Resolution:100,IfShowUI:false}; // scanning configuration. Check out the docs to learn more: https://www.dynamsoft.com/web-twain/docs/info/api/WebTwain_Acquire.html#acquireimage
48
+
DWObject.AcquireImageAsync(deviceConfiguration); // scan documents with the selected device
49
+
```
50
+
25
51
## Capture from cameras
26
52
27
53
### Use [DirectShow Cameras]({{site.getstarted}}hardware.html#directshow-cameras)
0 commit comments