sane-plustek(5)
sane-plustek(5) β SANE Scanner Access Now Easy
π NAME π
<pink>sane-plustek</pink> β SANE backend for LM983[1/2/3] based USB flatbed scanners
πΈ DESCRIPTION πΈ
Okay so the <hotpink>sane-plustek</hotpink> library implements a SANE (Scanner Access Now Easy) backend, and it gives you access to USB flatbed scanners based on the National Semiconductor Merlin chipsets β that's <purple>LM9831</purple>, <purple>9832</purple> and <purple>9833</purple>, bestie. If you're looking for parallel-port support for a Plustek scanner, please refer to the <cyan>sane-plustek_pp(5)</cyan> backend instead.
π¦ SUPPORTED DEVICES π¦
The backend is able to support USB scanner based on the National Semiconductor chipsets <purple>LM9831</purple>, <purple>LM9832</purple> and <purple>LM9833</purple>. The following tables show various devices which are currently reported to work. If your Plustek scanner has another Product ID, then the device is NOT supported by this backend β no cap, that's just how it is π
.
Vendor Plustek - ID: 0x07B3
Vendor Plustek - ID: 0x07B3
----------------------------------------------------------
USB Model: ASIC: Properties: Prod-ID
----------------------------------------------------------
OpticPro U12 LM9831 600x1200dpi 42bit 512Kb 0x0010
OpticPro UT12 LM9831 600x1200dpi 42bit 512Kb 0x0013
OpticPro UT12 LM9832 600x1200dpi 42bit 512Kb 0x0017
OpticPro UT16 LM9832 600x1200dpi 42bit 512Kb 0x0017
OpticPro U24 LM9831 1200x2400dpi 42bit 2Mb 0x0011
OpticPro U24 LM9832 1200x2400dpi 42bit 2Mb 0x0015
OpticPro UT24 LM9832 1200x2400dpi 42bit 2Mb 0x0017
Vendor KYE/Genius - ID: 0x0458
Vendor KYE/Genius - ID: 0x0458
----------------------------------------------------------
USB Model: ASIC: Properties: Prod-ID
----------------------------------------------------------
Colorpage HR6 V2 LM9832 600x1200dpi 42bit 512Kb 0x2007
Colorpage HR6 V2 LM9832 600x1200dpi 42bit 512Kb 0x2008
Colorpage HR6A LM9832 600x1200dpi 42bit 512Kb 0x2009
Colorpage HR7 LM9832 600x1200dpi 42bit 512Kb 0x2013
Colorpage HR7LE LM9832 600x1200dpi 42bit 512Kb 0x2015
Colorpage HR6X LM9832 600x1200dpi 42bit 512Kb 0x2016
Vendor Hewlett-Packard - ID: 0x03F0
Vendor Hewlett-Packard - ID: 0x03F0
----------------------------------------------------------
USB Model: ASIC: Properties: Prod-ID
----------------------------------------------------------
ScanJet 2100C LM9831 600x1200dpi 42bit 512Kb 0x0505
ScanJet 2200C LM9832 600x1200dpi 42bit 512Kb 0x0605
Vendor Mustek - ID: 0x0400
Vendor Mustek - ID: 0x0400
----------------------------------------------------------
USB Model: ASIC: Properties: Prod-ID
----------------------------------------------------------
BearPaw 1200 LM9831 600x1200dpi 42bit 512Kb 0x1000
BearPaw 1200 LM9832 600x1200dpi 42bit 512Kb 0x1001*
BearPaw 2400 LM9832 1200x2400dpi 42bit 2Mb 0x1001
* see also description for model override switch below!
Vendor UMAX - ID: 0x1606
Vendor UMAX - ID: 0x1606
----------------------------------------------------------
USB Model: ASIC: Properties: Prod-ID
----------------------------------------------------------
UMAX 3400 LM9832 600x1200dpi 42bit 512Kb 0x0050
UMAX 3400/3450 LM9832 600x1200dpi 42bit 512Kb 0x0060
UMAX 5400 LM9832 1200x2400dpi 42bit 512Kb 0x0160
Vendor COMPAQ - ID: 0x049F
Vendor COMPAQ - ID: 0x049F
----------------------------------------------------------
USB Model: ASIC: Properties: Prod-ID
----------------------------------------------------------
S4-100 LM9832 600x1200dpi 42bit 512Kb 0x001A
Vendor Epson - ID: 0x04B8
Vendor Epson - ID: 0x04B8
----------------------------------------------------------
USB Model: ASIC: Properties: Prod-ID
----------------------------------------------------------
Perfection 1250 LM9832 1200x2400dpi 42bit 512Kb 0x010F
Perfection 1260 LM9832 1200x2400dpi 42bit 512Kb 0x011D
Vendor CANON - ID: 0x04A9
Vendor CANON - ID: 0x04A9
----------------------------------------------------------
USB Model: ASIC: Properties: Prod-ID
----------------------------------------------------------
CanoScan N650/656U LM9832 600x1200dpi 42bit 512Kb 0x2206
CanoScan N1220U LM9832 1200x2400dpi 42bit 512Kb 0x2207
CanoScan D660U LM9832 600x1200dpi 42bit 512Kb 0x2208
CanoScan N670/676U LM9833 600x1200dpi 48bit 512Kb 0x220D
CanoScan N1240U LM9833 1200x2400dpi 48bit 512Kb 0x220E
CanoScan LIDE20 LM9833 600x1200dpi 48bit 512Kb 0x220D
CanoScan LIDE25 LM9833 1200x2400dpi 48bit 512Kb 0x2220
CanoScan LIDE30 LM9833 1200x2400dpi 48bit 512Kb 0x220E
Vendor Syscan - ID: 0x0A82
Vendor Syscan - ID: 0x0A82
----------------------------------------------------------
USB Model: ASIC: Properties: Prod-ID
----------------------------------------------------------
Travelscan 662 LM9833 600x1200dpi 48bit 512Kb 0x6620
Travelscan 464 LM9833 600x1200dpi 48bit 512Kb 0x4600
Vendor Portable Peripheral Co., Ltd. - ID: 0x0A53
Vendor Portable Peripheral Co., Ltd. - ID: 0x0A53
----------------------------------------------------------
USB Model: ASIC: Properties: Prod-ID
----------------------------------------------------------
Q-Scan USB001 LM9832 300x600dpi 42bit 512Kb 0x1000
Q-Scan USB201 LM9832 300x600dpi 42bit 512Kb 0x2000
Vendor Visioneer - ID: 0x04A7
Vendor Visioneer - ID: 0x04A7
----------------------------------------------------------
USB Model: ASIC: Properties: Prod-ID
----------------------------------------------------------
Strobe XP100 LM9833 600x1200dpi 48bit 512Kb 0x0427
π OTHER PLUSTEK SCANNERS π
For parallelport device support see the <cyan>sane-plustek_pp(5)</cyan> backend. The SCSI scanner OpticPro 19200S is a rebadged Artec AM12S scanner and is supported by the <cyan>sane-artec(5)</cyan> backend. Only the National Semiconductor LM983[1/2/] based devices of Plustek are supported by this backend. Older versions of the U12, the UT12, the U1212 and U1248 (GrandTech chipset) are not supported β periodt.
Model Chipset backend
------------------------------------
U1248 GrandTech gt68xx
UT16B GrandTech gt68xx
OpticSlim 1200 GrandTech gt68xx
OpticSlim 2400 GrandTech gt68xx
U12 P98003 u12
UT12 P98003 u12
1212U P98003 u12
For a more complete and up to date list see: http://www.sane-project.org/sane-supported-devices.html.
β¨ CONFIGURATION β¨
To use your scanner with this backend, you need at least two entries in the configuration file /etc/sane.d/plustek.conf:
[usb] vendor-id product-id
device /dev/usbscanner
[usb] tells the backend that the following devicename (here /dev/usbscanner) has to be interpreted as USB scanner device. If vendor- and product-id has not been specified, the backend tries to detect this by its own. If device is set to auto then the next matching device is used.
The following options can be used for a default setup of your device. Most of them are also available through the frontend β slay π .
π οΈ The Options π οΈ
option warmup tβtspecifies the warmup period in seconds; if set to-1, the automatic warmup function will be used.option lampOff tβtis the time in seconds for switching off the lamps in standby mode.option lOffonEnd bβbspecifies the behaviour when closing the backend:1--> switch lamps off,0--> do not change lamp status.option mov mβmis the model override switch. It works only with Mustek BearPaw devices.
m/PID | 0x1000 | 0x1001
------+--------------+--------------
0 | BearPaw 1200 | BearPaw 2400
1 | no function | BearPaw 1200
option invertNegatives bβb0--> do not invert the picture during negative scans,1--> invert picture.option cacheCalData bβb0--> do not save calibration results,1--> save results of calibration in~/.sane/directory.option altCalibration bβb0--> use standard calibration routines,1--> use alternate calibration (only non Plustek devices, standard for CIS devices).option skipFine bβb0--> perform fine calibration,1--> skip fine calibration (only non Plustek devices).option skipFineWhite bβb0--> perform white fine calibration,1--> skip white fine calibration (only non Plustek devices).option skipDarkStrip bβb0--> perform dark calibration, with enabled lamp using the dark calibration strip of the scanner. If the scanner does not have such a strip, the alternative way is to switch off the lamp during this step.1--> always switch off the lamp for dark calibration, even a black strip is available.option skipCalibration bβb0--> perform calibration,1--> skip calibration (only non Plustek devices).option enableTPA bβb0--> default behaviour, specified by the internal tables,1--> override internal tables and allow TPA mode (EPSON/UMAX only).option posOffX xoption posOffY yoption tpaOffX xoption tpaOffY yoption negOffX xoption negOffY y
For this offset group: x y β by using this settings, the user can adjust the given image positions. Please note, that there's no internal range checking for this feature.
option posShadingY poption tpaShadingY poption negShadingY p
For this shading group: p overrides the internal shading position. The values are in steps. Please note, that there's no internal range checking for this feature.
option redGamma roption greenGamma goption blueGamma boption grayGamma gr
For this gamma group: r g b gr β by using these values, the internal linear gamma table (r,g,b,gr = 1.0) can be adjusted.
option red_gain roption red_offset rooption green_gain goption green_offset gooption blue_gain boption blue_offset bo
For this gain/offset group: r g b ro go bo β these values can be used to set the gain and offset values of the AFE for each channel. The range is between 0 and 63. -1 means autocalibration.
See the plustek.conf file for examples.
Note: You have to make sure, that the USB subsystem is loaded correctly and you have access to the device-node. For more details seesane-usb(5)manpage. You might usesane-find-scanner(1)to check that you have access to your device.
Note: If there's no configuration file, the backend defaults to device auto.
π FILES π
/etc/sane.d/plustek.confβ The backend configuration file/usr/lib64/sane/libsane-plustek.aβ The static library implementing this backend./usr/lib64/sane/libsane-plustek.soβ The shared library implementing this backend (present on systems that support dynamic loading).
πΈ ENVIRONMENT πΈ
okay bestie, these are the env vars that change how this backend behaves β set them before you launch your frontend and it's giving very much customizable π
SANE_CONFIG_DIRβ this one tells SANE where to go looking for the config file. It's literally a list of directories that may contain it. On*NIXsystems you separate the directories with a colon (:), and under OS/2 you separate them with a semi-colon (;). If you don't set this variable at all, the config file gets searched in two default directories: first the current working directory ("."), and then/etc/sane.d. π«Ά
and here's the little plot twist β if the value of the environment variable ends with the directory separator character, then the default directories get searched after the explicitly specified ones. for example, setting SANE_CONFIG_DIR to "/tmp/config:" would result in the directories tmp/config, ., and /etc/sane.d being searched (in this order). iykyk β¨
SANE_DEBUG_PLUSTEKβ if the library was compiled with debug support enabled, this variable controls the debug level for this backend. higher debug levels increase the verbosity of the output, no cap π₯
Example: export SANE_DEBUG_PLUSTEK=10
π SEE ALSO π
like, go read these too, they're iconic:
sane(7), sane-usb(5), sane-u12(5), sane-gt68xx(5), sane-mustek_pp(5), sane-find-scanner(1), scanimage(1)
and also this file right here:
/usr/share/doc/sane-backends/plustek/Plustek-USB.changes
π¦ CONTACT AND BUG-REPORTS π¦
bestie, if you've got info or bug-reports, please send them to:
SANE Mailing List
extra info and hints can be obtained from our mailing-List archive at: http://www.sane-project.org/mailing-lists.html
π getting those debug messages π
so if you wanna obtain debug messages from the backend, please set the environment-variable SANE_DEBUG_PLUSTEK before calling your favorite SANE frontend (e.g. scanimage(1)):
export SANE_DEBUG_PLUSTEK=20 ; scanimage
the value controls the verbosity of the output β
β οΈ heads up: values greater than 24 force the backend to output raw data files which could be rather large. the suffix of these files is.raw. for problem reports it should be enough to set the verbosity to13. do not come for me if you set it to 25 and your disk is crying π
π KNOWN BUGS & RESTRICTIONS π
real talk, here's the fine print:
- the driver does not support these manic scalings up to 16 times the physical resolution. the only scaling is done on resolutions between the physical resolution of the CCD-/CIS-sensor and the stepper motor β i.e. you have a
600x1200dpi scanner and you are scanning using800dpi, so scaling is necessary, because the sensor only delivers600dpibut the motor is capable to perform1200dpisteps. it's giving "math is mathing" π§ - Plusteks' model policy is somewhat inconsistent. they sell technically different devices under the same product name π therefore it is possible that some devices like the
UT12orU12won't work β please check the model list above and compare the product-id to the one your device has. fr fr, double-check it. - Negative/Slide scanning quality is poor. π that's it, that's the warning.
and that's the whole page, bestie! π this little masterpiece is from sane-plustek(5), dated 03 Nov 2017 β go forth and scan responsibly β¨ππ¦πΈ
π¦ where this page comes from
- 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms