Control eSCL network scanners using a CLI utility
Project description
scanner-cli
A MacOS/Linux CLI client for scanning documents using a network scanner supporting the Mopria Alliance eSCL Scan Technical Specification
Outputs PDF files.
Known to work with at least:
- Brother DCP-L3550CDW
- Brother MFC-L2710DW
- Canon Pixma G3260
- HP DeskJet 4640 series
- HP OfficeJet Pro 9000 series
- HP OfficeJet Pro 9010 series
Installation
From PyPI:
pipx install escl-scanner-cli
Locally:
pip install .
Publishing to PyPI
pip install -r requirements-dev.txt
rm -rf dist/*
python -m build
python -m twine upload dist/*
TODOs
- Use click for CLI parsing
- Automatic publishing to PyPI
Usage
escl-scan output_filename.pdf
positional arguments:
filename
optional arguments:
-h, --help show this help message and exit
--source {feeder,flatbed,automatic}, -S {feeder,flatbed,automatic}
--grayscale, -g
--resolution {75,100,200,300,600}, -r {75,100,200,300,600}
--debug, -d
--no-open, -o
--quiet, -q
--duplex, -D
--today, -t Prepend date to file name in ISO format
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file escl_scanner_cli-0.2.1.tar.gz.
File metadata
- Download URL: escl_scanner_cli-0.2.1.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ad6e91c51ff2986db0491a9c19f6603d144ddf103e45d2c32390ffb50840c0b
|
|
| MD5 |
378a38173de75d6e535900aee440efd0
|
|
| BLAKE2b-256 |
88ec1e8b03ca3267f58574331f0a90924d5a5ae7235319621624bb55b5d5757c
|
File details
Details for the file escl_scanner_cli-0.2.1-py3-none-any.whl.
File metadata
- Download URL: escl_scanner_cli-0.2.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
734f2b458b157cf82c35db4dfb5f279879cd1ac54ae8c91d1a7234a8674afa6a
|
|
| MD5 |
e066e355d208034ae31246f3dee3e718
|
|
| BLAKE2b-256 |
c7e65ce514f8550a87daa8404bb3212b1b2050817f3ed1ac96cc73e35d136dfd
|