[go: up one dir, main page]

escl 0.1.0

A Rust library for using scanners via the eSCL protocol (scanning over network)
Documentation

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-rs supports 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

at your option.