Revisión de Instalar un escáner de Mié, 05/18/2016 - 03:35

La revisión le permite rastrear las diferencias que hay entre distintas versiones de una entrada.

Resumen

La digitalización en Trisquel se realiza principalmente a través de SANE. Hay otras herramientas por ahí, pero la mayoría terminan usando SANE a través del proceso de digitalización.

SANE

“Scanner Access Now Easy (SANE) en español "Nuevo escáner de fácil acceso" es una interfaz de programación de aplicaciones (API) que proporciona acceso estandarizado a cualquier dispositivo escáner de imágenes raster (escáner de superficie plana, lector de mano, toma de video y fijas-cámaras, digitalizadores de vídeo, etc.). La API de SANE es de dominio público y su discusión y desarrollo está abierto a todo el mundo. Es comúnmente usado en Linux." -SANE on Wikipedia SANE en la Wikipedia SANE por sí solo crea una API común, por lo que todos los escáneres compatibles se puede acceder de la misma manera por las aplicaciones de más alto nivel, a pesar de la comunicación subyacente (conductores) que varía entre fabricantes y modelos de impresoras . Consulte la información abajo para ver una lista de dispositivos soportados actualmente.

Dispositivos compatibles con SANE

Puede encontrar una lista de dispositivos compatibles Aquí. Esta es la misma lista que SANE Backends, pero ordenadas según la marca del escáner. La fundación de Software Libre (FSF) mantuvo previamente un directorio de hardware. La FSF ha comenzado a migrar estos datos al sitio apoyada por la comunidad h-node. El Sitio scanner es un recurso que ayudará a los usuarios a encontrar información acerca de si los escáneres funcionan con todo el Software Libre. Se anima a los usuarios a enviar la información de hardware para h-node porque esto ayudará a la comunidad sepa qué hardware está soportado y cuáles evitar.

Configuración inicial

‘’scanimage'’ es una herramienta de línea de comandos básicos que se incluye con el paquete SANE que le permitirá escanear sólo en los formatos “.pnm” y “.tiff”, el cual podrá se convertido en otro formato según sea necesario. Aquí la utilizaremos sólo para probar el escáner. Para asegurarse de que su dispositivo funcione con la actual configuración SANE, utilice: scanimage -L Salida de ejemplo: device `niash:libusb:002:002' is a Hewlett-Packard ScanJet 4300C flatbed scanner Note: ‘’sane-find-scanner'’ did not find this scanner.

Taking your scanner out for a test: scanimage >image.pnm Consult the man page for additional information.

SANE Frontends

SANE frontends are applications designed to interact with the SANE API and not with devices directly. This is only required, if you prefer working with a GUI (Graphical User Interface). On Trisquel you can find ‘’simple-scan'’, which has virtually no setup and will provide enough functionality for most users.

xsane

This is the most advanced graphical application for scanning on Linux and is part of the SANE project. This tool is extremely well documented here. It will cover almost all cases of scanner usage on GNU/Linux.

gscan2pdf

This application is designed towards scamming to Portable Document Format (PDF) and doing Optical Character Recognition (OCR). It does not provide the same functionality as ‘’xsane'’.

simple-scan

This is by far the most user friendly tool for basic usage. Given the simplicity of this application there does not seem to be a central hub for it’s documentation. Nonetheless, you can find more about the project [ https://launchpad.net/simple-scan here].

SANE Backends

These are the drivers that are included with SANE by default. In case you have a more recent scanner, you should compare it to the appropriate version of SANE, since there is some delay until the updates reach Trisquel. There are also other drivers provided by the package ‘’libsane.extras'’. The drivers provided by the this package seem to be only ‘’geniusvp2‘’ and ‘’ls5000‘’. You can find, which these devices support on the SANE external backends page on the following section.

SANE External Backends

External Backends are drivers not included with SANE by default. On the above link you can find all devices that are supported by these external drivers and the reasons for them not being included in the SANE project.

Physical Scanner Buttons

Buttons in the scanners are usually designed to work only with the original Operative Systems that the scanner was designed to work with or will depend on proprietary drivers/firmware. However, ‘’scanbuttond'’ and ‘’scanbd'’ may be able to cover this functionality, by running custom shell scripts upon button interaction.
  • ‘’scanbuttond'’ - Known to conflict with SANE to some extent and is no longer maintained.
  • ‘’scanbd'’ - Not available on Trisquel 7.0 and lower. It will probably be included in the next release of Trisquel. It is licensed under GPL v2 and you can compile it from source on Trisquel 7.0 .

For compilling ‘’scanbd'’ on Trisquel 7.0, the following packages are needed: build-essential checkinstall libconfuse-dev libusb-dev libudev-dev libdbus-1-dev dbus libsane-dev After this you can follow the standard building method ( “./configure”, “make” and “make install” on the root directory of the source code).

Page dimensions

Simple Scan has page setting options in Document -> Preferences. You can also find this configuration in xsane and gscan2pdf.

If your scanner doesn't seem to listen to your Preferences settings, you can modify the page dimensions after scanning.

" Suppose we want to trim the pages of our input file prior to n-upping. This can be done by using a pipe:

 pdfjam myfile.pdf --trim '1cm 2cm 1cm 2cm' --clip true --outfile /dev/stdout |   pdfnup --frame true --outfile myoutput.pdf
The --trim option specifies an amount to trim from the left, bottom, right and top sides respectively; to work as intended here it needs also --clip true. These (i.e., trim and clip) are in fact options to LaTeX's \includegraphics command (in the standard graphics package)." - Example 6 - University of Warwick

References

TODO

Other interfaces to communicate with the scanner; scanbd setup details;

Revisiones

05/18/2016 - 03:11
anonymous