HP Multi-Function Network Printers support is very good under Linux thanks to HP Linux Imaging and Printing (HPLIP).
But one important functionality is still missing : Scan-to-folder.
In fact, under Linux, you can scan documents easily, but you need to do it thru a graphical interface like XSane or Simple Scan.
Natively, there is no possibility to control the scanning in a scan-to-folder way.
This article will analyse the HP interfaces available and will explain how to setup a shell script to do :
- a one-click scan interface, that will immediately scan current document straight in a default folder
- a scan server, that will wait for you to press the Start Scan button from the scanner to scan current document in a default folder
This script will allow you to setup default document folder & format (jpg, png, pdf, ...). It will handle documents from the scanner Glass Window and from Auto Document Feed tray.
It has been tested on an HP MFP 1312, but it should be compatible with many modern HP multi-function network printer.