A MacOS/Linux CLI client for scanning documents using a network scanner supporting the Mopria Alliance eSCL Scan Technical Specification
Known to work with at least:
- HP Deskjet 4640 series
- HP OfficeJet Pro 9010 series
- Canon Pixma G3260
- Brother MFC-L2710DW
- Brother DCP-L3550CDW
pip install -f requirements.txt
usage: scanner.py [-h] [--source {feeder,flatbed,automatic}] [--format {pdf,jpeg}] [--grayscale] [--resolution {75,100,200,300,600}] [--debug] [--no-open]
[--quiet] [--duplex]
filename
positional arguments:
filename
optional arguments:
-h, --help show this help message and exit
--source {feeder,flatbed,automatic}, -S {feeder,flatbed,automatic}
--format {pdf,jpeg}, -f {pdf,jpeg}
--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
--region REGION, -R REGION
Specify a region to scan. Either a paper size as understood by the papersize library (https://papersize.readthedocs.io - append "-L" for landscape -
so "A4-L" for example) or the format "Xoffset:Yoffset:Width:Height", with units understood by the papersize library. For example: 1cm:1.5cm:10cm:20cm