Changes

Jump to navigation Jump to search
720 bytes removed ,  12:06, 31 March 2008
First rewrite (a lot needs to be done tio get this in the default format, proper english and proper instructions)
Line 7: Line 7:  
On sme 7.3 the SANE's version is 1.0.14. (I compiled sane-1.0.17 for sme 7.3. There are many more  drivers available. It will soon have a link here.)
 
On sme 7.3 the SANE's version is 1.0.14. (I compiled sane-1.0.17 for sme 7.3. There are many more  drivers available. It will soon have a link here.)
   −
== HOWTO  install and use a scanner with SME 7.3 ==
+
{{Incomplete}}
 +
=== Supported scanners===
 +
For a list of supported scanners have a look at [http://www.sane-project.org/sane-supported-devices.html this page].
   −
 
+
=== Installation===
Configuration of /etc/yum.conf for that it goes searching the rpms in centos.
+
To install SANE login to the SME Server shell as root and issue the following command:
 
+
yum install sane-backends
Put a 1 for base centos and a 1 for updates centos like this:
+
After succesfull installation issue the following commands:
 
+
signal-event post-upgrade
  [base]
+
signal-event reboot
  enabled=1
  −
  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
  −
  name=CentOS - os
  −
  gpgcheck=1
  −
  enablegroups=0
  −
  exclude=kernel kernel-smp kernel-xenU mkinitrd mdadm initscripts
  −
  −
  [updates]
  −
  enabled=1
  −
  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
  −
  name=CentOS - updates
  −
  gpgcheck=1
  −
  enablegroups=0
  −
  exclude=kernel kernel-smp kernel-xenU mkinitrd mdadm initscripts
      
----------------------  
 
----------------------  
 
+
==== Finding your scanner ====  
=== Installation of sane ===
+
After installation and reboot you should be able to find your scanner with the following command:
  −
 
  −
  yum install sane-backends
  −
 
  −
----------------------
  −
=== Test of your scanner (recognition and driver) ===
      
   sane-find-scanner  
 
   sane-find-scanner  
   −
It searches your scanner.
+
The output should look like this:
   −
example
+
# No SCSI scanners found. If you expected something different, make sure that
 
+
# you have loaded a SCSI driver for your SCSI adapter.
  sane-find-scanner
+
# Also you need support for SCSI Generic (sg) in your operating system.
 +
# If using Linux, try "modprobe sg".
 +
 +
found USB scanner (vendor=0x04b8 [EPSON], product=0x010f [EPSON Scanner 010F], chip=LM9832/3) at libusb:001:002
 +
# Your USB scanner was (probably) detected. It may or may not be supported by
 +
# SANE. Try scanimage -L and read the backend's manpage.
 
    
 
    
  # No SCSI scanners found. If you expected something different, make sure that
+
# Not checking for parallel port scanners.  
  # you have loaded a SCSI driver for your SCSI adapter.
  −
  # Also you need support for SCSI Generic (sg) in your operating system.
  −
  # If using Linux, try "modprobe sg".  
   
    
 
    
  found USB scanner (vendor=0x04b8 [EPSON], product=0x010f [EPSON Scanner 010F], chip=LM9832/3) at libusb:001:002
+
# Most Scanners connected to the parallel port or other proprietary ports  
  # Your USB scanner was (probably) detected. It may or may not be supported by
+
# can't be detected by this program.  
  # SANE. Try scanimage -L and read the backend's manpage.
  −
 
  −
  # Not checking for parallel port scanners.
  −
 
  −
  # Most Scanners connected to the parallel port or other proprietary ports  
  −
  # can't be detected by this program.  
  −
 
  −
 
  −
  scanimage -L
  −
 
  −
it gives you the driver of your scanner if it is acknowledged by sane
     −
example
+
==== Determining assigned driver ====
 +
To see which hardware location is assigned to the scanner issue the following command:
    
   scanimage -L  
 
   scanimage -L  
  device `plustek:libusb:001:002' is a Epson Perfection 1250/Photo USB flatbed scanner
  −
     −
'''If a driver is found, you can continue the configuration...'''
+
The output should look something like this:
   −
'''Otherwise make following order to remove the rpm : sane-backends'''  
+
device `plustek:libusb:001:002' is a Epson Perfection 1250/Photo USB flatbed scanner
   −
  yum remove sane-backends  
+
If a driver is found, you can continue the configuration, otherwise make following order to remove the rpm : sane-backends
    +
yum remove sane-backends
   −
----------------------
+
=== (First) aquisition ===
   −
=== Test of your scanner: (Your first acquisition) ===
+
To make a test scan you can issue the following command specifying the driver you determined in [SANE#Determining assigned driver].
 
   
 
   
 +
scanimage -d drivername --format tiff -l 0 -t 0 -x 215 -y 297 > outfile.tiff
   −
  scanimage -d plustek:libusb:001:002 --format tiff -l 0 -t 0 -x 215 -y 297 > outfile.tiff
+
Replace drivername with the driver determined in [SANE#Determining assigned driver], e.g.:
 
  −
‘plustek:libusb:001:002’  => to put what was found with the command  scanimage -L
     −
----------------------
+
scanimage -d plustek:libusb:001:002 --format tiff -l 0 -t 0 -x 215 -y 297 > outfile.tiff
    
=== you can see the resolution of your scanner with this command ===
 
=== you can see the resolution of your scanner with this command ===
Line 101: Line 73:  
----------------------  
 
----------------------  
   −
=== configuration to put the scanner on your network ===
+
=== Adding your scanner to the network ===
    
saned is the SANE daemon. It gives an access to the image acquisition device available on the local host to remote clients.
 
saned is the SANE daemon. It gives an access to the image acquisition device available on the local host to remote clients.
Line 107: Line 79:  
----------------------  
 
----------------------  
   −
====Updating of /etc/hosts.allow for sane====  
+
====Updating of /etc/hosts.allow for sane====  
    
Make in /etc/ hosts.allow a line with template-custom
 
Make in /etc/ hosts.allow a line with template-custom
Line 138: Line 110:  
------------------------  
 
------------------------  
   −
====Add the ip’s addresses of the computers which are authorized to use the scanner====  
+
====Add the IP addresses of the computers which are authorized to use the scanner====  
    
   nano /etc/sane.d/saned.conf  
 
   nano /etc/sane.d/saned.conf  
Line 149: Line 121:  
---------------------  
 
---------------------  
   −
===INSTALLATION and CONFIGURATION of SANETWAIN on windows platforms===
+
===Installation and configuration of SANE TWAIN drivers on windows platforms===
   −
====Installation of SANETWAIN====
+
====Installation of SANE TWAIN drivers====
    
http://sanetwain.ozuzo.net/
 
http://sanetwain.ozuzo.net/
Line 177: Line 149:  
Use as interface language => fr  
 
Use as interface language => fr  
   −
====UTILISATION====
+
====Usage====
   −
SANETWAIN has many possibilities...
+
SANE TWAIN drivers have many possibilities. SANE TWAIN drivers can be used alone or called from another application (photoshop, acrobat, ...) like a classical usb scanner.  
 
  −
Sanetwain can be used alone or called from another application (photoshop, acrobat, ...) like a classical usb scanner.  
        Line 296: Line 266:     
You can use xsane or make the acquisition from a software (openoffice, gimp, ...)
 
You can use xsane or make the acquisition from a software (openoffice, gimp, ...)
  −
-----------------------
  −
  −
===After installation===
  −
  −
Configuration of /etc/yum.conf
  −
  −
Put a 0 for base centos and a O for updates centos like this:
  −
  −
  [base]
  −
  enabled=0
  −
  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
  −
  name=CentOS - os
  −
  gpgcheck=1
  −
  enablegroups=0
  −
  exclude=kernel kernel-smp kernel-xenU mkinitrd mdadm initscripts
  −
  −
  [updates]
  −
  enabled=0
  −
  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
  −
  name=CentOS - updates
  −
  gpgcheck=1
  −
  enablegroups=0
  −
  exclude=kernel kernel-smp kernel-xenU mkinitrd mdadm initscripts
 

Navigation menu