A Rust library for discovering and using scanners via the eSCL protocol (scanning over network)
- LAN service discovery
- Scanner capabilities
- Scanner status
- Scan via the Pull Scan model
The example uses multicast DNS to look for scanners in LAN for 5 seconds, and scans using the first discovered scanner. There's no need to pre-configure scanner IP address.
The output image is saved as scan.jpg
in the current directory. To run the example:
cargo run --example scan
Note
escl-rs
supports any scanner URLs, including HTTPS. The use of LAN here is just for simplicity of the example, and to demonstrate LAN discovery capabilities.
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.