Skip to content

PJK/escl-scanner-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A CLI for controlling scanners on MacOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%