sane-epson2(5)
π sane-epson2(5) β SANE backend for EPSON scanners π
π NAME π
sane-epson2 β SANE backend for EPSON scanners
π¦ DESCRIPTION π¦
Okay bestie, so the sane-epson2 library implements a SANE (Scanner Access Now Easy) backend that gives you access to Epson flatbed scanners. It supports a similar set of scanners as the sane-epson driver, but it was developed to support a wider range of connections to the scanner β including network access. π
Because sane-epson and sane-epson2 drivers support many of the same devices, if one driver gives you problems you may try disabling it to try the other. You can do this by removing the driver name from dll.conf or maybe by commenting out the options in epson.conf or epson2.conf. β¨
At present, the following scanners are known to work with this backend:
π¨οΈ Known-good scanner roster π¨οΈ
Model β Connection Type:
- ActionScanner II β SCSI, parallel
- AcuLaser CX11 Series β USB, Network
- AcuLaser CX21 Series β USB, Network
- CX-3200 β USB
- CX-3600 β USB
- CX-3650 β USB
- CX-4050 β USB
- CX-4600 β USB
- CX-4800 β USB
- CX-5000 β USB
- CX-5200 β USB
- CX-5400 β USB
- CX-6300 β USB
- CX-6400 β USB
- CX-6500 β USB
- CX-6600 β USB
- DX-3800 β USB
- DX-5000 β USB
- DX-5050 β USB
- DX-6000 β USB
- DX-7400 β USB
- ES-300C β SCSI, parallel
- ES-300GS β SCSI
- ES-600C β parallel
- ES-1200C β parallel
- Expression 636 β SCSI
- Expression 800 β SCSI
- Expression 1600 β USB, SCSI, IEEE-1394
- Expression 1680 β USB, SCSI, IEEE-1394
- FilmScan 200 β SCSI
- GT-5000 β SCSI, parallel
- GT-5500 β SCSI
- GT-6000 β parallel
- GT-6500 β parallel
- GT-7000 β SCSI
- GT-8000 β SCSI
- GT-8500 β SCSI
- Perfection 610 β USB
- Perfection 636S β SCSI
- Perfection 636U β USB
- Perfection 640 β USB
- Perfection 1200S β SCSI
- Perfection 1200U β USB
- Perfection 1240 β USB, SCSI
- Perfection 1640 β USB, SCSI
- Perfection 1650 β USB
- Perfection 1660 β USB
- Perfection 2400 β USB
- Perfection 2450 β USB, IEEE-1394
- Perfection 3200 β USB
- Perfection 4870 β USB
- Perfection 4990 β USB
- RX-425 β USB
- RX-500 β USB
- RX-600 β USB
- RX-700 β USB
- V700 β USB, IEEE-1394
- V750 β USB, IEEE-1394
- 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 sane-backend mailing list 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 epson2
Not all devices support all options. π
π Scan Mode π
--modeβ selects the basic mode of operation of the scanner. Valid choices areBinary,GrayandColor.Binarymode 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, but 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 in8bitmode. Newer scanners allow one to select either8 bits,12or14 bitsper color channel. For a color scan this means an effective color depth of36or42 bitsover all three channels. The valid choices depend on the scanner model.--halftoningβ selects the mode that is used inBinarymode. Valid options are"None","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", and"Download 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-2meaning"Defocus",-1"Defocus slightly",0"Normal",1"Sharpen slightly"and2"Sharpen".--gamma-correctionβ controls the scanner's internal gamma correction. Valid options are"Default","User defined","High density printing""Low density printing"and"High contrast printing".--color-correctionβ controls the scanner's internal color correction function. Valid options are"No Correction","Impact-dot printers","Thermal printers","Ink-jet printers"and"CRT monitors". The default is"CRT 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 epson"parameters toscanimage(1).--thresholdβ selects the minimum brightness to get a white point.--mirrorβ controls the way the image is scanned. By reading the image data from right to left the image is mirrored. Valid options are"yes"and"no". The default is"no".--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 are"yes"and"no". The default is"yes".--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.--wait-for-buttonβ can be used to wait until the button on the scanner is pressed to actually start the scan process.--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 are"yes"and"no". The default is"no".
The geometry options -l, -t, -x, and -y control the scan area:
-lβ sets the top left x coordinate.-tβ sets the top left y coordinate.-xβ selects the width of the scan area.-yβ selects the height of the scan area.
All parameters are specified in millimeters. π
--sourceβ selects the scan source. Valid options depend on the installed options. The default is"Flatbed".--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 are"Negative Film"and"Positive Film".--focus-positionβ selects the focus position for all scans. Valid options are"Focus 2.5mm above glass"and"Focus on glass". The focus on the2.5mmpoint 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.--bayβ selects which bay to scan.--ejectβ ejects the sheet in the ADF.--adf-modeβ select the ADF mode (simplex/duplex).
π CONFIGURATION FILE π
The config file /etc/sane.d/epson2.conf tells the backend which device(s) it should use, bestie. The possible connection types are:
πΎ SCSI
This is the default, and if nothing else is specified the backend software will open a given path as a SCSI device. More info about valid syntax for SCSI devices lives in sane-scsi(5). Usually SCSI scanners are configured with a line scsi EPSON in this file. In some cases it may be necessary to only use the string scsi β like 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 /dev directory. The IO address can be specified in hex mode β just prefix it with 0x.
π¦ USB
For USB scanners that aren't automatically detected, you can manually specify their VENDOR and PRODUCT ID in the config file. More information about valid syntax for USB devices can be found in sane-usb(5).
π Network
Network scanners can be auto-discovered if autodiscovery is specified after the net keyword. An IP address to connect to can also be used.
β¨ FILES β¨
/usr/lib64/sane/libsane-epson2.aβ the static library implementing this backend./usr/lib64/sane/libsane-epson2.soβ the shared library implementing this backend (present on systems that support dynamic loading).
π«Ά ENVIRONMENT π«Ά
SANE_DEBUG_EPSON2β 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.SANE_DEBUG_EPSON2_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.SANE_DEBUG_EPSON2_NETβ if the library was compiled with debug support enabled, this environment variable controls the network related debug level for this backend. E.g., a value of128requests all debug output to be printed. Smaller levels reduce verbosity.SANE_EPSON2_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!
π SEE ALSO π
π BUGS π
None :-) At least none are currently known.
π UNSUPPORTED DEVICES π
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.
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 β the email address is in the AUTHOR section of this man page or in the AUTHORS file of the SANE distribution.
π AUTHOR π
The package is written by Alessandro Zummo and is based on previous work done by Karl Hienz Kremer in the epson package as well as based on work by Christian Bucher and Kazuhiro Sasayama.
That's the whole vibe, bestie β this lil page is sane-epson2(5), dated 22 Jan 2009. π
β¨
π¦ 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