openpaperwork / paperwork

Personal document manager (Linux/Windows) -- Moved to Gnome's Gitlab
https://gitlab.gnome.org/World/OpenPaperwork/paperwork
2.43k stars 149 forks source link

ADF via shell #752

Open RidaAyed opened 6 years ago

RidaAyed commented 6 years ago

ADF scan loop until empty via shell

Hi

How can I loop scan via paperwork-shell until the feeder is empty?

Expected usecase example:

  1. Put n papers in ADF
  2. Run script
  3. Targetfolder contains n new documents

Something similar to scanimage --batch

Excerpt from man scanimage

−batch−count count specifies the number of pages to attempt to scan. If not given, scanimage will continue scanning until the scanner returns a state other than OK. Not all scanners with document feeders signal when the ADF is empty, use this command to work around them.

@jflesch Thank you for such a useful application

jflesch commented 6 years ago

This feature is not available yet through paperwork-shell. Only through the GUI.