A Rust library for using scanners via the eSCL protocol (scanning over network)
Features
- Scanner capabilities
- Scanner status
- Scan via the Pull Scan model
Example
Set your scanner IP address in the SCANNER_IP environment variable. For example:
export SCANNER_IP="192.168.1.100"
[!NOTE]
This example assumes that your scanner serves eSCL endpoints at
http://scanner.ip.address/eCSL/xxxx.
escl-rssupports any scanner URLs, including HTTPS. The use of LAN IP here is just for simplicity of the example.
Then run the scan example:
cargo run --example scan
An output image file scan.jpg will be saved in the current directory.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.