sane-lexmark(5)
π NAME π
sane-lexmark β the SANE backend for Lexmark X1100/X1200 Series scanners π
β¨
π¦ DESCRIPTION π¦
Okay so bestie, the sane-lexmark library implements a SANE (Scanner Access Now Easy) backend that gives you access to the scanner part of Lexmark X1100/X1200 AIOs. And listen β this backend should be considered beta-quality software! π No cap, it's still a work in progress, so keep that in mind.
The scanners that should work with this backend are:
- Lexmark X74 β good β
- Lexmark X1110 β untested π€
- Lexmark X1140 β untested π€
- Lexmark X1150 β good β
- Lexmark X1170 β good β
- Lexmark X1180 β good β
- Lexmark X1185 β complete π
- Lexmark X12xx β good in USB1.1, not fully tested in USB2.0 π
- Dell A920 β good β
(That's the vendor/model/status tea, fr fr. π΅)
The options the backend supports can either be selected through command line options to programs like scanimage(1) or through GUI elements in xscanimage(1) or xsane(1). Slay, choose your fighter. π
If you notice any strange behavior, please report to the backend maintainer or to the SANE mailing list. They wanna know, bestie. π«Ά
Valid command line options and their syntax can be listed by using:
scanimage --help -d lexmark:usb:<usb port>
β¨ Scan Mode Options β¨
--modeβ selects the basic mode of operation of the scanner. Valid choices areColor,GrayandLineart. The default mode isColor. TheLineartmode is black and white only (1 bit).Graymode will produce 256 levels of gray (8 bits).Colormode allows for over 16 million different colors produced from 24 bits of color information. So basically: full-color chaos, moody grayscale, or stark black-and-white. Pick your vibe. π¨π€--resolutionβ selects the resolution for a scan. The horizontal and vertical resolutions are set by the value of this option. The scanner is capable of the following resolutions for the specified option value:- value
75β horizontal75dpi, vertical75dpi - value
150β horizontal150dpi, vertical150dpi - value
300β horizontal300dpi, vertical300dpi - value
600β horizontal600dpi, vertical600dpi - value
1200β horizontal600dpi, vertical1200dpi(only for X11xx models with'B2'sensor) π
- value
--previewβ requests a preview scan. The resolution used for that scan is75dpi and the scan area and the scan mode are as specified through their options, or the default if not specified. The default value for preview mode is"no". So it's a lil sneak peek, not the full send. π--thresholdβ selects the minimum-brightness to get a white point. The threshold is only used withLineartmode scans. It is specified as a percentage in the range0..100%(in steps of1). The default value of the threshold option is50. Only matters for Lineart, bestie β don't stress otherwise. βͺ
πΈ CONFIGURATION FILE πΈ
The configuration file /etc/sane.d/lexmark.conf contains only the usb device id (eg usb 0x043d 0x007c). That's it. One line, very demure, very mindful. π
π FILES π
/usr/lib64/sane/libsane-lexmark.aβ the static library implementing this backend./usr/lib64/sane/libsane-lexmark.soβ the shared library implementing this backend (present on systems that support dynamic loading).
π ENVIRONMENT π
SANE_DEBUG_LEXMARKβ if the library was compiled with debug support enabled, this environment variable controls the debug level for this backend. E.g., a value of255requests all debug output to be printed. Smaller levels reduce verbosity. So crank it to255if you wanna see everything, or keep it low-key. πSANE_DEBUG_LEXMARK_LOWβ provides debug output for low level Lexmark functions. For when you need to get into the weeds, iykyk. π§
π LIMITATIONS π
The windows TWAIN driver has many more options than this SANE backend. However they are only software adjustments. This backend only implements what the scanner can support. For instance, shading correction (vertical stripes due to sensor variation across its width) is done in software. Head park position is also detected by software. The data compression isn't supported for the X1200 series on USB 1.1, leading to slow scans. So yeah, the Windows driver is extra, but this backend keeps it real with what the hardware can actually do. No cap. π (And heads up: X1200 on USB 1.1 = slow scans because no data compression. Patience, bestie.)
π¦ BUGS π¦
No bugs currently known. β¨ (Iconic, honestly.)
π₯ SEE ALSO π₯
sane-scsi(5), scanimage(1), xscanimage(1), xsane(1), sane(7)
π AUTHOR π
- The backend was originally written by Fred Odendaal.
http://ca.geocities.com/freshshelf@rogers.com/ - The new version is currently developed by StΓ©phane Voltz.
http://stef.dev.free.fr/sane/lexmark - X74 support was written by Torsten Houwaart
<ToHo@gmx.de>
π CREDITS π
Many thanks go to:
Julien Furgerot who lent me a Dell A920. Robert Price, Dani Ele and Dalai Felinto for the time they spent recording USB activity and testing the experimental version. π«Άπ
That's the whole vibe check, bestie! π
This was sane-lexmark(5) from 12 Jul 2008. Now go scan something iconic. πβ¨
π¦ where this page comes from
- 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
- 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
- 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms