You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes:
- Added option '-a/--batch-scan' to allow scanning multiple documents in one
go, prompting user in between documents (depends on option
'-o/--outfile-pattern' for output file naming)
- Added option '-o/--outfile-pattern' that allows specifying OUTFILE command
line argument as printf-style pattern (e.g. '~/Documents/Scan_%05d.pdf')
that is used to automatically determine the next available output file name
by incrementing the integer part of the pattern
- Reordered configuration items to better highlight which settings to use for
which paper size
- Removed configuration items that only make sense to be modified via command
line options from configuration file ('BATCH_SCAN_DEFAULT',
'OUTFILE_PATTERN_DEFAULT', 'KEEP_TEMP_DEFAULT')
- Eliminated need to 'cd' to temporary directory by adding path to temporary
directory to '--batch=' template of call to 'scanimage'
- Added '--' to explicitely end option parsing to all external commands that
support it
- Applied a few minor tweaks to printed output (wording, spacing)
- Extended headers in script and configuration file to 80 characters
- Reformatted 'README.md' and 'CHANGELOG.md' to be more readable when viewed
in a simple text viewer/editor
Copy file name to clipboardExpand all lines: README.md
+66-29Lines changed: 66 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,37 +1,59 @@
1
1
# Scan to PDF (scan2pdf)
2
-
Scan documents directly to PDF file from the command line. Especially useful to batch-scan large volumes.
2
+
Scan documents directly to PDF files from the command line. Especially useful
3
+
to batch-scan large volumes of documents.
3
4
4
5
## Donations
5
-
I'm striving to become a full-time developer of [Free and open-source software (FOSS)](https://en.wikipedia.org/wiki/Free_and_open-source_software). Donations help me achieve that goal and are highly appreciated.
6
+
I'm striving to become a full-time developer of [Free and open-source software
help me achieve that goal and are highly appreciated.
6
9
7
-
<ahref="https://www.buymeacoffee.com/fonic"><imgsrc="https://raw.githubusercontent.com/fonic/donate-buttons/main/buymeacoffee-button.png"alt="Buy Me A Coffee"height="35"></a> <ahref="https://paypal.me/fonicmaxxim"><imgsrc="https://raw.githubusercontent.com/fonic/donate-buttons/main/paypal-button.png"alt="Donate via PayPal"height="35"></a> <ahref="https://ko-fi.com/fonic"><imgsrc="https://raw.githubusercontent.com/fonic/donate-buttons/main/kofi-button.png"alt="Donate via Ko-fi"height="35"></a>
10
+
<ahref="https://www.buymeacoffee.com/fonic"><imgsrc="https://raw.githubusercontent.com/fonic/donate-buttons/main/buymeacoffee-button.png"alt="Buy Me A Coffee"height="35"></a>
11
+
<ahref="https://paypal.me/fonicmaxxim"><imgsrc="https://raw.githubusercontent.com/fonic/donate-buttons/main/paypal-button.png"alt="Donate via PayPal"height="35"></a>
12
+
<ahref="https://ko-fi.com/fonic"><imgsrc="https://raw.githubusercontent.com/fonic/donate-buttons/main/kofi-button.png"alt="Donate via Ko-fi"height="35"></a>
8
13
9
14
## Requirements
10
15
**Dependencies:**<br/>
11
-
_Bash (>=v4.0)_, _scanimage_ (part of [SANE](http://www.sane-project.org/)), _tiffcp_ and _tiff2pdf_ (part of [libtiff](http://libtiff.maptools.org/))
16
+
_Bash (>=v4.0)_,
17
+
_scanimage_ (part of [SANE](http://www.sane-project.org/)),
18
+
_tiffcp_ (part of [LibTIFF](http://libtiff.maptools.org/)),
19
+
_tiff2pdf_ (part of [LibTIFF](http://libtiff.maptools.org/))
20
+
-or-
21
+
_convert_ (part of [ImageMagick](https://www.imagemagick.org/))
Refer to the [releases](https://github.com/fonic/scan2pdf/releases) section for downloads links. There is no installation required. Simply extract the downloaded archive to a folder of your choice.
29
+
Refer to the [releases](https://github.com/fonic/scan2pdf/releases) section
30
+
for downloads links. There is no actual installation required. Simply extract
31
+
the downloaded archive to a folder of your choice.
19
32
20
33
## Configuration
21
-
Open `scan2pdf.conf` in your favorite text editor and adjust the settings to your liking. Refer to embedded comments for details. Refer to [this section](#configuration-options--defaults) for a listing of all configuration options and current defaults.
34
+
Open `scan2pdf.conf` in your favorite text editor and adjust the settings
35
+
to your liking. Refer to embedded comments for details. Refer to
36
+
[this section](#configuration-options) for a listing of all configuration
37
+
options and current defaults.
22
38
23
-
## Usage
24
-
To scan a document to PDF file, use the following commands:
39
+
## Quick Start
40
+
To scan a single document to PDF file, use the following command:
25
41
```
26
-
$ cd scan2pdf-vX.Y
27
42
$ ./scan2pdf.sh document.pdf
28
43
```
29
44
45
+
To scan multiple documents to PDF files, use the following command:
0 commit comments