Skip to main content

Tools for using scanners with document feeder

Project description

scan-pdf

PyPi-Package Duplicated lines Coverage

simple script to create pdf files from a scanner with document feeder

Examples

scan double sided pages to pdf

Example:

scan-pdf --resolution 100 --duplex test.pdf

supported options

> scan-pdf -h
usage: scan-pdf [-h] [--resolution RESOLUTION] [--flatbed] [-d] [--duplex] [--color-mode {bw,gray,color}] [--threshold THRESHOLD] [--color-depth COLOR_DEPTH] [--paper-format {A4,A5}] [--paper-left PAPER_LEFT] [--paper-top PAPER_TOP]
                [--paper-height PAPER_HEIGHT] [--paper-width PAPER_WIDTH]
                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)
  --flatbed             scan only one page from flatbed glass
  -d                    enable debug output
  --duplex              scan both sides of document
  --color-mode {bw,gray,color}
                        default: gray
  --threshold THRESHOLD
                        disabled by default
  --color-depth COLOR_DEPTH
  --paper-format {A3,A4,A5,A6,A7}
                        default: A4
  --paper-left PAPER_LEFT
                        override left offset
  --paper-top PAPER_TOP
                        override top offset
  --paper-height PAPER_HEIGHT
                        override paper height
  --paper-width PAPER_WIDTH
                        override paper width

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scan_pdf-0.4.8.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

scan_pdf-0.4.8-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file scan_pdf-0.4.8.tar.gz.

File metadata

  • Download URL: scan_pdf-0.4.8.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.1.0

File hashes

Hashes for scan_pdf-0.4.8.tar.gz
Algorithm Hash digest
SHA256 6eee033a55193ff128c16a4e7cb4f2ad4311c63eb2e4608b3d7c907315d663f9
MD5 34af907b12613cdd798fad1b66671a7c
BLAKE2b-256 f2cfcf7848e43ad50e294db7e34aee6a06b3a652c5ffa4437c9aa539bfdb9946

See more details on using hashes here.

File details

Details for the file scan_pdf-0.4.8-py3-none-any.whl.

File metadata

  • Download URL: scan_pdf-0.4.8-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.1.0

File hashes

Hashes for scan_pdf-0.4.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ebe22a29f1d3334f31a482002a7619b2b35fc5b23653f1613412eb7dad5db982
MD5 e8cf78243db65f2c29f8bb4533db2895
BLAKE2b-256 91ac0e5938bfded8a3fdbfd4c09a2931018a386a15dbe33e36fb16a538a9b663

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page