{"schemaVersion":"1.0","record":{"label":"Scantpaper","description":"Linux scanning and OCR application, rewritten in Python from gscan2pdf, for PDF and DjVu document assembly.","aliases":["gscan2pdf 3"],"kind":"software","website":"https://github.com/carygravel/scantpaper","overview":"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.","license":"GPL-3.0-only; external scanning, OCR and conversion components retain their respective licenses.","lifecycle":"active","example":false,"features":[{"name":"SANE scanner capture","status":"limited","detail":"Flatbed and document-feeder capabilities depend on the device and SANE backend.","useCase":"Linux document capture, page cleanup and searchable document assembly","platforms":["Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://packages.debian.org/sid/scantpaper","locator":"SANE workflow, outputs and dependencies","retrievedAt":"2026-10-07T14:34:41Z","kind":"independent"}]},{"name":"Searchable document output","status":"supported","detail":"OCR can be embedded in PDF or DjVu; export components must be installed.","useCase":"Linux document capture, page cleanup and searchable document assembly","platforms":["Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://packages.debian.org/sid/scantpaper","locator":"SANE workflow, outputs and dependencies","retrievedAt":"2026-10-07T14:34:41Z","kind":"independent"}]},{"name":"Large PDF output","status":"limited","detail":"Current README describes refusing estimated output beyond 2 GiB.","useCase":"Linux document capture, page cleanup and searchable document assembly","platforms":["Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://github.com/carygravel/scantpaper","locator":"Workflow, session storage, limitations and history","retrievedAt":"2026-10-07T14:33:28Z","kind":"vendor"}]},{"name":"Recognition correction","status":"limited","detail":"Release 3.0.21 fixes saved-text corrections and imported text-layer problems; package version matters.","useCase":"Linux document capture, page cleanup and searchable document assembly","platforms":["Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://github.com/carygravel/scantpaper/blob/main/changelog.md","locator":"Released 3.0.21 text-layer and correction fixes; 3.0.22 released October 10, 2026. Changelog checked October 14, 2026.","retrievedAt":"2026-10-07T14:33:28Z","kind":"vendor"}]}],"alternatives":[],"slug":"scantpaper","draftAlternatives":[{"targetSlug":"naps2","status":"limited","detail":"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.","useCase":"Linux document capture, page cleanup and searchable document assembly","platforms":["Linux"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://packages.debian.org/sid/scantpaper","locator":"SANE workflow, outputs and dependencies","retrievedAt":"2026-10-07T14:34:41Z","kind":"independent"},{"url":"https://github.com/carygravel/scantpaper","locator":"Workflow, session storage, limitations and history","retrievedAt":"2026-10-07T14:33:28Z","kind":"vendor"},{"url":"https://www.naps2.com/linux-scanning","locator":"Linux scanning and driver requirements","retrievedAt":"2026-10-07T14:17:21Z","kind":"vendor"}]}],"evidence":[{"url":"https://github.com/carygravel/scantpaper","locator":"Workflow, session storage, limitations and history","retrievedAt":"2026-10-07T14:33:28Z","kind":"vendor"},{"url":"https://packages.debian.org/sid/scantpaper","locator":"SANE workflow, outputs and dependencies","retrievedAt":"2026-10-07T14:34:41Z","kind":"independent"},{"url":"https://packages.debian.org/sid/gscan2pdf","locator":"Transitional package and command symlink","retrievedAt":"2026-10-07T14:32:48Z","kind":"independent"},{"url":"https://github.com/carygravel/scantpaper/blob/main/changelog.md","locator":"Released 3.0.21, 3.0.22 and 3.0.23 fixes; 3.0.24 unreleased as checked October 14, 2026","retrievedAt":"2026-10-14T04:02:12Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/carygravel/scantpaper","locator":"Workflow, session storage, limitations and history","retrievedAt":"2026-10-07T14:33:28Z","id":"repo","title":"Scantpaper README","kind":"vendor"},{"url":"https://packages.debian.org/sid/scantpaper","locator":"SANE workflow, outputs and dependencies","retrievedAt":"2026-10-07T14:34:41Z","id":"debian","title":"Debian Scantpaper package","kind":"independent"},{"url":"https://packages.debian.org/sid/gscan2pdf","locator":"Transitional package and command symlink","retrievedAt":"2026-10-07T14:32:48Z","id":"transition","title":"Debian gscan2pdf transition","kind":"independent"},{"url":"https://github.com/carygravel/scantpaper/blob/main/changelog.md","locator":"Released 3.0.21, 3.0.22 and 3.0.23 fixes; 3.0.24 unreleased as checked October 14, 2026","retrievedAt":"2026-10-14T04:02:12Z","id":"changes","title":"Scantpaper changelog","kind":"vendor"},{"url":"https://github.com/carygravel/scantpaper/blob/main/pyproject.toml","locator":"Python minimum, license and dependencies","retrievedAt":"2026-10-07T14:33:28Z","id":"metadata","title":"Scantpaper package metadata","kind":"vendor"},{"url":"https://www.naps2.com/linux-scanning","locator":"Linux scanning and driver requirements","retrievedAt":"2026-10-07T14:17:21Z","id":"naps","title":"NAPS2 Linux scanning","kind":"vendor"},{"url":"https://ocrmypdf.readthedocs.io/en/latest/advanced.html","locator":"Version-dependent PDF/A output behavior","retrievedAt":"2026-10-07T14:19:59Z","id":"ocrmypdf","title":"OCRmyPDF advanced output","kind":"vendor"}],"overviewCitations":["repo","debian","transition"],"licenseCitations":["metadata"],"sections":[{"id":"workflow","heading":"Capture and assembly","paragraphs":[{"id":"workflow-detail","content":[{"text":"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."}],"citations":["debian"]}]},{"id":"transition","heading":"The gscan2pdf transition","paragraphs":[{"id":"transition-detail","content":[{"text":"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."}],"citations":["repo","transition"]}]},{"id":"storage","heading":"Sessions and large jobs","paragraphs":[{"id":"storage-detail","content":[{"text":"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."}],"citations":["repo"]}]},{"id":"versions","heading":"Version-sensitive fixes","paragraphs":[{"id":"versions-detail","content":[{"text":"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."}],"citations":["changes"]}]},{"id":"dependencies","heading":"Dependencies and licensing","paragraphs":[{"id":"dependencies-detail","content":[{"text":"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."}],"citations":["metadata","debian"]}]},{"id":"archival","heading":"Archival-output qualification","paragraphs":[{"id":"archival-detail","content":[{"text":"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."}],"citations":["repo","ocrmypdf"]}]},{"id":"substitution","heading":"Substitution scope","paragraphs":[{"id":"substitution-detail","content":[{"text":"Scantpaper can replace "},{"text":"NAPS2","targetSlug":"naps2"},{"text":" 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."}],"citations":["debian","repo","transition","naps"]}]}]},"id":"Q1573","revision":1686,"updatedAt":"2026-10-20T04:25:42Z","sourceUrl":"https://substitutefor.net/entities/Q1573?revision=1686"}}