Categorygithub.com/maicher/kmscan
repositorypackage
0.0.0-20240928113956-f92e2faa36a3
Repository: https://github.com/maicher/kmscan.git
Documentation: pkg.go.dev

# README

kmscan

Canon Lide dedicated wrapper for scanimage(1) with image processing enhancements.

How to run

Pull the repository:

$ git clone https://github.io/maicher/kmscan
$ cd kmscan

Install and run:

# make build install
$ kmscan

More info:

$ kmscan -h

Uninstall:

# make uninstall

Development

Pass arguments as ARGS:

make run ARGS='-h'

Run tests:

make run test

Troubleshooting

If scanner stops responding, kill the scanning process:

$ pkill scanimage

or restart the scanner:

# usb Canon restart

You can find the implementation of the restart script here: https://github.com/maicher/dotfiles/blob/master/lib/.local/bin/usb