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
From PyPI:
pipx install escl-scanner-cli
Locally:
pip install .
pip install -r requirements-dev.txt
rm -rf dist/*
python -m build
python -m twine upload dist/*
- Use click for CLI parsing
- Automatic publishing to PyPI
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