Skip to main content

Tools for using scanners with document feeder

Project description

scan-pdf

PyPi-Package Duplicated lines Coverage OpenSSF Scorecard

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.9.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scan_pdf-0.4.9-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scan_pdf-0.4.9.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.14.3 Darwin/25.3.0

File hashes

Hashes for scan_pdf-0.4.9.tar.gz
Algorithm Hash digest
SHA256 111fa3b6e3adc9601812eee43a6a7c0255750d3eed5d37b13c048abfb667c1a1
MD5 f90468905fcbe90040717cd8d56b8f51
BLAKE2b-256 f0c989572f209e063cd3f6938c463c1ad264391919ba1c7073c136f499e60183

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scan_pdf-0.4.9-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.14.3 Darwin/25.3.0

File hashes

Hashes for scan_pdf-0.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 4c0d1c4225dca28a7706aa7373548b95514edcba38f9847c2f54806787aebb36
MD5 51d40f46379751156f0726a5dd836f40
BLAKE2b-256 c29973cb5bcda0891a4ab9e81cda4353c757cf91d9ad51c2194186820385885f

See more details on using hashes here.

Supported by

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