sane-epson(5)
π sane-epson(5) β SANE Scanner Access Now Easy β¨
πΈ NAME πΈ
sane-epson β SANE backend for EPSON scanners π«Ά
π DESCRIPTION π
Okay bestie, so the sane-epson library implements a SANE (Scanner Access Now Easy) backend that gives you access to Epson flatbed scanners. Some functions of this backend should be considered beta-quality software! Most functions have been stable for a long time, but of course new development can not and often will not function properly from the very first day. Please report any strange behavior to the maintainer of the backend.
β οΈ Beta-energy warning: some parts are still giving βnew code, who dis?β β so report weirdness, okay? π
At present, the following scanners are known to work with this backend β model first, connection type after:
GT-5000β SCSI, parallelGT-6000β parallelGT-6500β SCSI (use only the linescsiinepson.conf)ActionScanner IIβ SCSI, parallelGT-7000β SCSIPerfection 636β SCSIPerfection 636Uβ USBPerfection 610β USBPerfection 640β USBPerfection 1200Sβ SCSIPerfection 1200Uβ USBPerfection 1240β USB, SCSIPerfection 1640β USB, SCSIPerfection 1650β USBPerfection 1660β USBPerfection 2400β USBPerfection 2450β USB, IEEE-1394Expression 636 / GT-9500β SCSIExpression 1600β USB, SCSI, IEEE-1394Expression 1680β USB, SCSI, IEEE-1394CX-3200β USBCX-5200β USB- and many more. The official list is on the Sane web site. π
For other scanners the software may or may not work. Please send mail to the backend author (khk@khk.net) to report success with scanners not on the list or problems with scanners that are listed. π
π¦ OPTIONS π¦
The options the backend supports can either be selected through command line options to programs like scanimage(1) or through GUI elements in programs like xscanimage(1) or xsane(1).
Valid command line options and their syntax can be listed by using:
scanimage --help -d epson
Not all devices support all options. π
π Scan Mode π
--modeβ selects the basic mode of operation of the scanner. Valid choices areBinary,GrayandColor. TheBinarymode is black and white only,Graywill produce 256 levels of gray or more depending on the scanner andColormeans 24 bit color mode or more depending on the scanner. Some scanners will internally use 36 bit color, their external interface however may only support 24 bits. β¨--depthβ selects the bit depth the scanner is using. This option is only available for scanners that support more than one bit depth. Older scanners will always transfer the image in 8bit mode. Newer scanners allow one to select either 8 bits, 12 or 14 bits per color channel. For a color scan this means an effective color depth of 36 or 42 bits over all three channels. The valid choices depend on the scanner model.--halftoningβ selects the mode that is used inBinarymode. Valid options areNone,Halftone A (Hard Tone),Halftone B (Soft Tone),Halftone C (Net Screen),Dither A (4x4 Bayer),Dither B (4x4 Spiral),Dither C (4x4 Net Screen),Dither D (8x4 Net Screen),Text Enhanced Technology,Download pattern A, andDownload pattern B.--dropoutβ selects the so called dropout color. Valid options areNone,Red,GreenandBlue. The default isNone. The dropout color is used for monochrome scanning and selects the color that is not scanned. This can be used to e.g. scan an original with a colored background.--brightnessβ controls the brightness of the scan. Valid options are integer values from-3to3. The default is0. The larger the brightness value, the brighter the image gets. If a user defined table for the gamma correction is selected, the brightness parameter is not available.--sharpnessβ sets the sharpness of the image data. Valid options are integer values from-2to2, with-2meaningDefocus,-1Defocus slightly,0Normal,1Sharpen slightlyand2Sharpen.--gamma-correctionβ controls the scanner's internal gamma correction. Valid options areDefault,User defined,High density printing,Low density printing, andHigh contrast printing.--color-correctionβ controls the scanner's internal color correction function. Valid options areNo Correction,Impact-dot printers,Thermal printers,Ink-jet printersandCRT monitors. The default isCRT monitors.--resolutionβ selects the resolution for a scan. Some EPSON scanners will scan in any resolution between the lowest and highest possible value. The list reported by the scanner can be displayed using the--help -d epsonparameters toscanimage(1).--mirrorβ controls the way the image is scanned. By reading the image data from right to left the image is mirrored. Valid options areyesandno. The default isno.--speedβ can improve the scan speed in monochrome mode. Valid options areyesorno, theyesoption will speed up the scan if this option is supported.--auto-area-segmentationβ activates the automatic area segmentation for monochrome scans. The scanner will try to determine which areas are text and which contain images. The image areas will be halftoned, and the text will be improved. Valid options areyesandno. The default isyes.--gamma-tableβ can be used to download a user defined gamma table. The option takes 256 values from the range0-255. In color mode this option equally affects the red, green, and blue channel.--red-gamma-tableβ can be used to download a user defined gamma table for the red channel. The valid options are the same as for--gamma-table.--green-gamma-tableβ can be used to download a user defined gamma table for the green channel. The valid options are the same as for--gamma-table.--blue-gamma-tableβ can be used to download a user defined gamma table for the blue channel. The valid options are the same as for--gamma-table.--cct-1--cct-2--cct-3...--cct-9β the color correction coefficients will install color correction coefficients for the user defined color correction. Values are specified as integers in the range-127..127.--previewβ requests a preview scan. The frontend software automatically selects a low resolution. Valid options areyesandno. The default isno.--preview-speedβ will increase the scan speed if this is supported by the scanner. Valid options areyesandno, the default isno.-l-t-x-yβ the geometry options control the scan area:-lsets the top left x coordinate,-tthe top left y coordinate,-xselects the width and-ythe height of the scan area. All parameters are specified in millimeters.--quick-formatβ lets the user select a scan area with predefined sizes. Valid parameters areCD,A5 portrait,A5 landscape,Letter,A4andmax. The default ismax, which selects the largest possible area.--sourceβ selects the scan source. Valid options depend on the installed options. The default isFlatbed.--auto-ejectβ will eject a page after scanning from the document feeder.--film-typeβ will select the film type for scans with the transparency unit. This option is only activated if the TPU is selected as scan source. Valid options areNegative FilmandPositive Film.--focus-positionβ selects the focus position for all scans. Valid options areFocus 2.5mm above glassandFocus on glass. The focus on the 2.5mm point above the glass is necessary for scans with the transparency unit, so that the scanner can focus on the film if one of the film holders is used. This option is only functional for selected scanners, all other scanners will ignore this option.
π§ CONFIGURATION FILE π§
The configuration file /etc/sane.d/epson.conf specifies the device(s) that the backend will use. Possible connection types are:
- SCSI β This is the default, and if nothing else is specified the backend software will open a given path as SCSI device. More information about valid syntax for SCSI devices can be found in
sane-scsi(5). Usually SCSI scanners are configured with a linescsi EPSONin this file. In some cases it may be necessary to only use the stringscsi(e.g. for the GT-6500). - PIO - Parallel Interface β The parallel interface can be configured in two ways: An integer value starting at the beginning of a line will be interpreted as the IO address of the parallel port. To make it clearer that a configured IO address is a parallel port the port address can be preceded by the string
PIO. The PIO connection does not use a special device file in the/devdirectory. The IO address can be specified in hex mode (prefixed with0x). - USB β A device file that is preceded by the string
USBis treated as a scanner connected via the Universal Serial Bus. The correct special device file has to be created prior to using it with Sane. See the USB documentation for more information about how to set up the USB subsystem and the required device files.
π FILES π
/usr/lib64/sane/libsane-epson.aβ The static library implementing this backend./usr/lib64/sane/libsane-epson.soβ The shared library implementing this backend (present on systems that support dynamic loading).
πΈ ENVIRONMENT πΈ
Okay bestie, these are the env vars this backend actually listens to β vibe check them before you start poking stuff. β¨
SANE_DEBUG_EPSONβ If the library was compiled with debug support enabled, this environment variable controls the debug level for this backend. E.g., a value of128requests all debug output to be printed. Smaller levels reduce verbosity. So yes,128is the βgive me everythingβ setting β iconic, but also a lot. πSANE_DEBUG_EPSON_SCSIβ If the library was compiled with debug support enabled, this environment variable controls the SCSI related debug level for this backend. Only a value of2is supported. Thatβs it. Two. Not three, not one β2. Periodt. πSANE_EPSON_CMD_LVLβ This allows one to override the function or command level that the backend uses to communicate with the scanner. The function level a scanner supports is determined during the initialization of the device. If the backend does not recognize the function level reported by the scanner it will default to function levelB3. Valid function levels areA1,A2,B1,B2,B3,B4,B5,B6,B7,B8,D1andF5. Use this feature only if you know what you are doing! π¨
Bestie, that last one is not a casual little toggle. Only touch SANE_EPSON_CMD_LVL if you actually know what youβre doing β the man page literally says it with an exclamation mark. π
π SEE ALSO π
Go read these too, theyβre part of the lore:
π BUGS π
None :-) At least none are currently known. The backend is serving a flawless little no-known-bugs era, and honestly? We love that for it. π¦
π« UNSUPPORTED DEVICES π«
So hereβs the tea: the backend may be used with Epson scanners that are not yet listed under the list of supported devices. A scanner that is not recognized may default to the function level B3, which means that not all functions that the scanner may be capable of are accessible. Not a full slay, but it is what it is. π
If the scanner is not even recognized as an Epson scanner this is probably because the device name reported by the scanner is not in the correct format. Please send this information to the backend maintainer (email address is in the AUTHOR section of this man page or in the AUTHORS file of the SANE distribution). Thatβs literally the move β help the maintainer help you. π«Ά
Also, big note: the Perfection 600, Perfection 650, Perfection 660, Perfection 1250 and Perfection 1260 are not supported by this backend. Not βmaybe laterβ β the man page says not supported. π
π AUTHOR π
The package is actively maintained by Karl Heinz Kremer (khk@khk.net). π The software is based on work by Christian Bucher and Kazuhiro Sasayama. Respect the lineage, bestie. π
And thatβs the whole sane-epson(5) chapter β source/version energy is sane-epson(5), dated 11 Jul 2008. Cute little time capsule, fr fr. πβ¨
π¦ 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
- 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