# Scantpaper

Linux scanning and OCR application, rewritten in Python from gscan2pdf, for PDF and DjVu document assembly\.

ID: Q1573 · Revision: 1686

Type: software · License: GPL\-3\.0\-only; external scanning, OCR and conversion components retain their respective licenses\.[^metadata] · Status: active

Website: https://github.com/carygravel/scantpaper



Scantpaper is a graphical Linux application for scanning and assembling documents, including searchable PDF and DjVu output\. It is the Python rewrite of gscan2pdf's version 3 line, with SANE scanner access, image cleanup and OCR\. Distribution packages under the old name may now redirect to Scantpaper rather than install the older Perl application\.[^repo][^debian][^transition]

## Capture and assembly

Scantpaper provides a thumbnail\-based interface for acquiring multiple pages from a flatbed or document feeder through SANE\. Users can crop, rotate or remove pages, then save selected pages as a document\. Debian's package description lists PDF, DjVu, multipage TIFF and single\-page image output, with OCR text embedded in PDF or DjVu\. The available scanner controls remain dependent on its driver and hardware\.[^debian]

## The gscan2pdf transition

The upstream project identifies Scantpaper as its Python rewrite of gscan2pdf\. Debian sid now describes the gscan2pdf package as a transitional package containing a command link to Scantpaper\. Consequently, instructions aimed at the older Perl application may describe different internals or dependencies from what a current package installation launches\. The old product name alone is insufficient to identify the installed generation\.[^repo][^transition]

## Sessions and large jobs

The rewrite stores working pages in a SQLite session database and describes crash\-session recovery\. Its current README also documents a safeguard that refuses a save when estimated PDF output exceeds 2 GiB, following failures in particular conversion dependency versions\. That is an application\-specific documented boundary, not a universal claim that every PDF library or every 64\-bit system has the same limit\.[^repo]

## Version\-sensitive fixes

The 3\.0\.21 changelog, dated October 4, 2026, fixes imported PDFs losing searchable text on save, corrections not reaching saved output, and multi\-page operations requiring separate undo steps\. Version 3\.0\.22, dated October 10, 2026, fixes saving a complete SDB session to a chosen location and editing reopened sessions in place\. The changelog also records 3\.0\.23 on October 11, 2026; as checked on October 14, the 3\.0\.24 section remains unreleased\. Users should not assume current development documentation proves that an older distribution build contains those fixes\.[^changes]

## Dependencies and licensing

Package metadata requires Python 3\.10 or later and declares GPL\-3\.0\-only\. The application integrates libraries and tools for SANE, Tesseract, image conversion and PDF generation rather than providing all of those functions independently\. Debian lists OCRmyPDF and image utilities as dependencies and additional export helpers as recommendations\. The installed component set therefore affects the usable workflow\.[^metadata][^debian]

## Archival\-output qualification

Scantpaper's README describes PDF/A output through OCRmyPDF\. That dependency's current documentation distinguishes required PDF/A conversion from automatic best\-effort output, which can fall back to ordinary PDF\. This is a reason to verify the resulting file and exact integration settings when archival conformance is a requirement, not a claim that every Scantpaper save uses the same OCRmyPDF options\.[^repo][^ocrmypdf]

## Substitution scope

Scantpaper can replace [NAPS2](/naps2) for Linux document capture and searchable\-PDF assembly on compatible SANE hardware\. Its integrated cleanup and document outputs address that task, while cross\-platform driver coverage and scanner sharing remain separate requirements\. The newer name also makes it a relevant migration candidate for people following older gscan2pdf instructions\.[^debian][^repo][^transition][^naps]

## Capabilities and substitutions

### SANE scanner capture — limited

Flatbed and document\-feeder capabilities depend on the device and SANE backend\.[^debian]

Use case: Linux document capture, page cleanup and searchable document assembly · Platforms: Linux · Region: Version, build and integration requirements apply

### Searchable document output — supported

OCR can be embedded in PDF or DjVu; export components must be installed\.[^debian]

Use case: Linux document capture, page cleanup and searchable document assembly · Platforms: Linux · Region: Version, build and integration requirements apply

### Large PDF output — limited

Current README describes refusing estimated output beyond 2 GiB\.[^repo]

Use case: Linux document capture, page cleanup and searchable document assembly · Platforms: Linux · Region: Version, build and integration requirements apply

### Recognition correction — limited

Release 3\.0\.21 fixes saved\-text corrections and imported text\-layer problems; package version matters\.[^source-8]

Use case: Linux document capture, page cleanup and searchable document assembly · Platforms: Linux · Region: Version, build and integration requirements apply

### [Substitute for NAPS2](/naps2) — limited

Assessment: substitutes for Linux scanner capture, cleanup and searchable\-PDF assembly when SANE supports the hardware; not equivalent to NAPS2's cross\-platform drivers or network\-sharing server\.[^repo][^debian][^naps]

Use case: Linux document capture, page cleanup and searchable document assembly · Platforms: Linux · Region: Version, build and integration requirements apply

## References

[^repo]: [Scantpaper README](<https://github.com/carygravel/scantpaper>) — Workflow, session storage, limitations and history (vendor; retrieved 2026-10-07T14:33:28Z)

[^debian]: [Debian Scantpaper package](<https://packages.debian.org/sid/scantpaper>) — SANE workflow, outputs and dependencies (independent; retrieved 2026-10-07T14:34:41Z)

[^transition]: [Debian gscan2pdf transition](<https://packages.debian.org/sid/gscan2pdf>) — Transitional package and command symlink (independent; retrieved 2026-10-07T14:32:48Z)

[^changes]: [Scantpaper changelog](<https://github.com/carygravel/scantpaper/blob/main/changelog.md>) — Released 3\.0\.21, 3\.0\.22 and 3\.0\.23 fixes; 3\.0\.24 unreleased as checked October 14, 2026 (vendor; retrieved 2026-10-14T04:02:12Z)

[^metadata]: [Scantpaper package metadata](<https://github.com/carygravel/scantpaper/blob/main/pyproject.toml>) — Python minimum, license and dependencies (vendor; retrieved 2026-10-07T14:33:28Z)

[^naps]: [NAPS2 Linux scanning](<https://www.naps2.com/linux-scanning>) — Linux scanning and driver requirements (vendor; retrieved 2026-10-07T14:17:21Z)

[^ocrmypdf]: [OCRmyPDF advanced output](<https://ocrmypdf.readthedocs.io/en/latest/advanced.html>) — Version\-dependent PDF/A output behavior (vendor; retrieved 2026-10-07T14:19:59Z)

[^source-8]: [https://github\.com/carygravel/scantpaper/blob/main/changelog\.md](<https://github.com/carygravel/scantpaper/blob/main/changelog.md>) — Released 3\.0\.21 text\-layer and correction fixes; 3\.0\.22 released October 10, 2026\. Changelog checked October 14, 2026\. (vendor; retrieved 2026-10-07T14:33:28Z)

Source revision: https://substitutefor.net/entities/Q1573?revision=1686
