simple script to create pdf files from a scanner with document feeder
Example:
scan-pdf --resolution 100 --duplex test.pdf
> scan-pdf -h usage: scan-pdf [-h] [--resolution RESOLUTION] [--duplex] [--color-mode {bw,gray,color}] [--color-depth COLOR_DEPTH] [--paper-format {A4}] output_file_name Produce PDF from Scanner with document-feeder positional arguments: output_file_name name of the produced output file optional arguments: -h, --help show this help message and exit --resolution RESOLUTION scan resolution DPI (default: 300) --duplex scan both sides of document --color-mode {bw,gray,color} default: gray --color-depth COLOR_DEPTH --paper-format {A4} default: A4