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

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." -[http://en.wikipedia.org/wiki/Scanner_Access_Now_Easy 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 ==
A list of supported devices can be found [http://www.sane-project.org/sane-mfgs.html here]. This is the same list as SANE Backends, but sorted by scanner brand.
The Free Software Foundation (FSF) previously maintained a [http://www.fsf.org/resources/hw/old hardware directory]. The FSF has has [http://www.fsf.org/resources/hw begun migrating] this data to the community supported site [http://www.h-node.org/home/index/en h-node].
The [http://www.h-node.org/scanners/catalogue/en scanner site] is a resource that will help users find information about if scanners work with all Free Software. Users are encouraged to submit hardware information to h-node because this will help the community know which hardware is supported and which to avoid.

== Initial Setup ==
‘’scanimage'’ is a basic command line tool included with the SANE package that will allow you to scan only to “.pnm” and “.tiff” formats, which you will later have to convert as required. Here we will use it just to test the scanner. To make sure your device will work with the current SANE setup, use:
scanimage -L
Example output:
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 ==
[http://www.sane-project.org/sane-frontends.html 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 [http://www.xsane.org/doc/sane-xsane-doc.html 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 ==
[http://www.sane-project.org/sane-backends.html 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 ==
[http://www.sane-project.org/lists/sane-backends-external.html 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)." - [http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/software/pdfjam/ Example 6 - University of Warwick]

== References ==
*[http://www.sane-project.org/docs.html SANE – Additional Documentation];
*[https://trisquel.info/en/forum/common-problem-scanners Community member Magic Bananna];

== TODO ==
Other interfaces to communicate with the scanner;
''scanbd'' setup details;

Revisiones

05/18/2016 - 03:11
anonymous