fonic / scan2pdf Goto Github PK
View Code? Open in Web Editor NEWScan to PDF (scan2pdf) - Scan documents directly to PDF files from the command line. Especially useful to batch-scan large volumes of documents.
Scan to PDF (scan2pdf) - Scan documents directly to PDF files from the command line. Especially useful to batch-scan large volumes of documents.
Hi, ho can I use the ADF in duplex-mode with Epson XP-7100. Here comes the scanimage -h for the used scanner:
scanimage -h -d "net:192.168.1.186:epsonscan2:XP-7100 Series:001:008:esci2:usb:ES0174:4423"
Usage: scanimage [OPTION]...
Start image acquisition on a scanner device and write image data to
standard output.
Parameters are separated by a blank from single-character options (e.g.
-d epson) and by a "=" from multi-character options (e.g. --device-name=epson).
-d, --device-name=DEVICE use a given scanner device (e.g. hp:/dev/scanner)
--format=pnm|tiff|png|jpeg file format of output file
-i, --icc-profile=PROFILE include this ICC profile into TIFF file
-L, --list-devices show available scanner devices
-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output
can be specified: %d (device name), %v (vendor),
%m (model), %t (type), %i (index number), and
%n (newline)
-b, --batch[=FORMAT] working in batch mode, FORMAT is `out%d.pnm' `out%d.tif'
`out%d.png' or `out%d.jpg' by default depending on --format
This option is incompatible with --output-file. --batch-start=# page number to start naming files with
--batch-count=# how many pages to scan in batch mode
--batch-increment=# increase page number in filename by #
--batch-double increment page number by two, same as
--batch-increment=2
--batch-print print image filenames to stdout
--batch-prompt ask for pressing a key before scanning a page
--accept-md5-only only accept authorization requests using md5
-p, --progress print progress messages
-o, --output-file=PATH save output to the given file instead of stdout.
This option is incompatible with --batch.
-n, --dont-scan only set options, don't actually scan
-T, --test test backend thoroughly
-A, --all-options list all available backend options
-h, --help display this help message and exit
-v, --verbose give even more status messages
-B, --buffer-size=# change input buffer size (in kB, default 32)
-V, --version print version information
Output format is not set, using pnm as a default.
Options specific to device `net:192.168.1.186:epsonscan2:XP-7100 Series:001:008:esci2:usb:ES0174:4423':
General:
--mode Color|Grayscale|Monochrome [Color]
Selects the scan mode (e.g., lineart, monochrome, or color).
--source ADF|Flatbed [ADF]
Selects the scan source (such as a document-feeder).
--duplex[=(yes|no)] [no]
Selects the ADF mode (yes:duplex/no:simplex)
--resolution 50..1200dpi (in steps of 1) [200]
Sets the resolution of the scanned image.
--x-resolution 50..1200dpi (in steps of 1) [inactive]
Sets the horizontal resolution of the scanned image.
--y-resolution 50..1200dpi (in steps of 1) [inactive]
Sets the vertical resolution of the scanned image.
--scan-area Letter|Legal|A4|A5|A5 (Landscape)|A6|A6 (Landscape)|A8|A8 (Landscape)|B5 [JIS]|Postcard|Postcard (Landscape)|PlasticCard|Maximum|Manual [Manual]
Select an area to scan based on well-known media sizes.
Geometry:
-l 0..215.9mm [0]
Top-left x position of scan area.
-t 0..355.6mm [0]
Top-left y position of scan area.
-x 0..215.9mm [215.9]
Width of scan-area.
-y 0..355.6mm [355.6]
Height of scan-area.
Enhancement:
--deskew[=(yes|no)] [inactive]
Rotate image so it appears upright.
--dropout None|Red|Blue|Green [None]
Selects the dropout.
--text-enhance None|Normal|High [inactive]
Text Enhance
--rotate 0 degrees|90 degrees|180 degrees|270 degrees|Auto [0 degrees]
Rotate
--skip-blankpages 0..100 (in steps of 1) [0]
Skip Blank Pages Settings.
--brightness -100..100 (in steps of 1) [0]
Controls the brightness of the acquired image.
--contrast -100..100 (in steps of 1) [0]
Controls the contrast of the acquired image.
--threshold 0..255 [128]
Select minimum-brightness to get a white point
Other:
--double-feed-detection None [inactive]
Detection Double Feed
--gamma-correction 0.5..3 (in steps of 0.0999908) [2.2]
Selects the gamma correction value from a list of pre-defined devices
or the user defined table, which can be downloaded to the scanner
--image-count 1..999 (in steps of 1) [0]
Image Count
--long-paper-mode[=(yes|no)] [no]
Select this mode if you want to scan documents longer than what the
ADF would normally support. Please note that it only supports automatic
detection of the document height.
--transfer-format[=(yes|no)] [yes]
Selecting a compressed format such as JPEG(=yes) normally results in
faster device side processing.
--remove-background None|Standard|High [None]
Remove Background
--background-color Black|White [inactive]
Background Color
I need an extra option "--duplex=" to choose the duplex-function of the adf
Greetz, Christoph
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.