sane-leo(5)

πŸ’… NAME πŸ’…

okay so this is sane-leo(5) β€” the SANE backend for LEO Technologies scanners, and yes it's part of SANE (Scanner Access Now Easy). Bestie, this is the manual page for that specific backend. πŸ’–

🌸 DESCRIPTION 🌸

The sane-leo library implements a SANE (Scanner Access Now Easy) backend that provides access to some LEO SCSI flatbed scanners. It's giving niche scanner energy and I'm obsessed.

🚨 Real talk: this backend should be considered beta-quality software! Not fully cooked, bestie.

LEO scanners were also sold under the Across Technologies brand. The scanners that should work with this backend are:

  • Across / FS-1130 β€” status: tested
  • LEO / S3 β€” status: tested

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). Choose your fighter. πŸ’…

If you have any strange behavior, please report to the backend maintainer or to the SANE mailing list. No gatekeeping, fr fr.

Valid command line options and their syntax can be listed by using:

scanimage --help -d leo

Scan Mode

  • --mode β€” selects the basic mode of operation of the scanner. Valid choices are Black & White, Grayscale and Color. The Black & White mode is black and white only (1 bit). Grayscale mode will produce 256 levels of gray (8 bits). Color mode will produce a 24 bit color image.
  • --resolution β€” selects the resolution for a scan. The scanner can do all resolutions between 1 and 300, in increments of 1.

Geometry options

  • -l β€” controls the scan area: sets the top left x coordinate.
  • -t β€” controls the scan area: sets the top left y coordinate.
  • -x β€” controls the scan area: selects the width of the scan area.
  • -y β€” controls the scan area: selects the height of the scan area.

All parameters are specified in millimeters by default.

Enhancement options

  • --custom-gamma β€” (grayscale and color mode only) allows the user to specify a gamma table (see the next 3 parameters).
  • --red-gamma-table β€” (color mode only) can be used to download a user defined gamma table for the red channel. The table must be 256 bytes long.
  • --green-gamma-table β€” (color mode only) can be used to download a user defined gamma table for the green channel. The table must be 256 bytes long.
  • --blue-gamma-table β€” (color mode only) can be used to download a user defined gamma table for the blue channel. The table must be 256 bytes long.
  • --halftone β€” (Black & White only) select the halftone mask to use. Possible values are Diamond, 8x8 Coarse Fatting, 8x8 Fine Fatting, 8x8 Bayer and 8x8 Vertical Line.
  • --preview β€” requests a preview scan. The resolution used for that scan is 28 dpi and the scan area is the maximum allowed. The scan mode is user selected. The default is "no".

πŸŽ€ CONFIGURATION FILE πŸŽ€

The configuration file /etc/sane.d/leo.conf supports only one information: the device name to use (eg /dev/scanner). That's it, that's the whole config. Minimalist queen. πŸ’…

πŸ¦‹ FILES πŸ¦‹

  • /usr/lib64/sane/libsane-leo.a β€” the static library implementing this backend.
  • /usr/lib64/sane/libsane-leo.so β€” the shared library implementing this backend (present on systems that support dynamic loading).

🌈 ENVIRONMENT 🌈

  • SANE_DEBUG_LEO β€” if the library was compiled with debug support enabled, this environment variable controls the debug level for this backend. E.g., a value of 128 requests all debug output to be printed. Smaller levels reduce verbosity.

πŸ’€ 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. So like, it's not trying to be the TWAIN driver, it's just doing scanner-supported things. Periodt.

πŸ™ˆ BUGS πŸ™ˆ

None known. iconic, no notes.

πŸ‘‘ SEE ALSO πŸ‘‘

🫢 AUTHOR 🫢


xoxo bestie πŸ’– β€” this was sane-leo(5), and the page is dated 11 Jul 2008. signing off with main character energy. πŸŽ€βœ¨

πŸ“¦ where this page comes from