sane-cardscan(5)
β¨ NAME β¨
okay bestie, meet sane-cardscan(5) - SANE backend for Corex CardScan usb scanners. iconic.
π¦ DESCRIPTION π¦
The sane-cardscan library implements a SANE (Scanner Access Now Easy) backend that gives you access to the Corex CardScan 800c & 600c small-format scanners. obsessed.
Lowkey important: this backend supports only grayscale and color modes and media of (theoretically) infinite length. <em>theoretically</em> is doing a lot of work there, bestie. π
This backend may support other scanners. The best way to determine level of support is to get a trace of the windows driver in action, and send it to the author. fr fr, that's the move.
π OPTIONS π
The cardscan backend supports the following options, periodt:
--mode Gray|Colorβ Selects the mode for the scan.
π CONFIGURATION FILE π
The config file cardscan.conf is used to tell the backend how to look for scanners and to provide options that control how the backend operates. This file is read each time the frontend asks the backend for a list of scanners, generally only when the frontend starts. If the config file is missing, the backend will use a set of compiled defaults, which are identical to the default configuration file shipped with SANE. no config? no problem, it's got defaults.
Scanners can be specified in the config file in 2 ways:
"usb 0x04c5 0x1042"(or other vendor/product ids) β Requests the backend to search all usb buses in the system for a device which uses that vendor and product id. The device will then be queried to determine if it is a cardscan scanner."usb /dev/usb/scanner0"(or other device file) β Some systems use a kernel driver to access usb scanners. This method is untested. just so you know.
Additionally, there are two configuration options that control the protocol used by the backend:
"lines_per_block 16"(or other number from 1 to 32) β Controls the number of lines of image data which will be acquired in each pass. Older scanners will require this number set lower, often1."has_cal_buffer 1"(1 or 0) β Causes the backend to get calibration data from scanner during initialization. Older scanners do not support this request, and must be set to0.
π ENVIRONMENT π
The backend uses a single environment variable, SANE_DEBUG_CARDSCAN, which enables debugging output to stderr. Valid values are:
5β Errors10β Function trace15β Function detail20β Option commands25β SCSI/USB trace30β SCSI/USB detail35β Useless noise
π KNOWN ISSUES π
okay bestie, listen up, because these are the real ones:
- The scanner does not seem to have much control possible, so the backend cannot set x/y coordinate values, resolutions, etc. These things could be simulated in the backend, but there are plenty of command line tools. iykyk.
- The backend also does not send all the commands that the windows driver does, so it may not function the same. just a heads up.
- The backend does not have the calibration or ejection options of the windows driver. no cap.
π CREDITS π
The hardware to build this driver was provided to the author by: Jeff Kowalczyk <jtk a t yahoo d o t com>. slay, thank you for your service π«‘
π¦ SEE ALSO π¦
π AUTHOR π
m. allan noah: <kitno455 a t gmail d o t com> . the icon behind it all.
and that's the whole tea, bestie! this is sane-cardscan(5) from SANE Scanner Access Now Easy, dated 10 Feb 2010. stay slay π
β¨
π¦ where this page comes from
- alpine 3.24: sane-doc 1.4.0-r4 Β· GPL-2.0-or-later GPL-2.0-or-later-with-sane-exception Public-Domain
- arch rolling: sane 1.4.0-4 Β· GPL-2.0-or-later AND LicenseRef-GPL-2.0-or-later-with-linking-exception
- centos-stream 10: sane-backends 1.2.1-10.el10 Β· GPL-2.0-or-later WITH SANE-exception AND GPL-2.0-or-later AND GPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND IJG AND MIT
- centos-stream 9: sane-backends 1.0.32-7.el9 Β· GPLv2+ and GPLv2+ with exceptions and Public Domain and IJG and LGPLv2+ and MIT
- debian bookworm: libsane-common 1.2.1-2 Β· GPL-2.0-or-later WITH sane exception
- debian trixie: libsane-common 1.3.1-3 Β· GPL-2.0-or-later WITH sane exception
- fedora 43: sane-backends 1.4.0-4.fc43 Β· GPL-2.0-or-later WITH SANE-exception AND GPL-2.0-or-later AND GPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND IJG AND MIT
- fedora 44: sane-backends 1.4.0-6.fc44 Β· GPL-2.0-or-later WITH SANE-exception AND GPL-2.0-or-later AND GPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LicenseRef-Fedora-Public-Domain AND IJG AND MIT
- nixos 26.05: sane-backends 1.4.0
- nixpkgs unstable: sane-backends 1.4.0
- opensuse-leap 16.0: sane-backends 1.3.0-bp160.1.14 Β· GPL-2.0-or-later AND SUSE-GPL-2.0+-with-sane-exception AND SUSE-Public-Domain
- opensuse-leap 16.0: sane-backends 1.3.0-bp160.1.14 Β· GPL-2.0-or-later AND SUSE-GPL-2.0+-with-sane-exception AND SUSE-Public-Domain
- opensuse-leap 16.0: sane-backends 1.3.0-bp160.1.14 Β· GPL-2.0-or-later AND SUSE-GPL-2.0+-with-sane-exception AND SUSE-Public-Domain
- opensuse-leap 16.0: sane-backends 1.3.0-bp160.1.14 Β· GPL-2.0-or-later AND SUSE-GPL-2.0+-with-sane-exception AND SUSE-Public-Domain
- ubuntu jammy: libsane-common 1.1.1-5 Β· GPL-2.0-or-later WITH sane exception
- ubuntu noble: libsane-common 1.2.1-7build4 Β· GPL-2.0-or-later WITH sane exception
- ubuntu questing: libsane-common 1.3.1-4build1
- ubuntu resolute: libsane-common 1.4.0-1ubuntu1 Β· GPL-2.0-or-later WITH sane exception
- ubuntu stonking: libsane-common 1.4.0-1ubuntu2 Β· GPL-2.0-or-later WITH sane exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms