# Re: EPSON 640U

From: tateopfr@tin.it
Date: Thu Apr 26 2001 - 10:53:20 PDT

- Next message: Florian Friesdorf: "snapscan 1212U (not _2), Floating Point Exception"
  - Previous message: Victor: "Re: Problems with xsane & scanner"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  Hi, Karl

  I have done and it works !!!

  bye bye

  Pierfrancesco Tateo

  Karl Heinz Kremer wrote:

  > You have to recompile the Sane package sane-backends-1.0.4
  > on your system. I am not familiar with Mandrake, so I can
  > not tell you exactly what you have to do.
  >
  > I know that Mandrake is based on RPMs, so you should be able
  > to find the source RPM for Sane and install and build it with
  > the new backend from my site.
  >
  > I would do it this way:
  >
  > - install source RPM
  > - build the sytem once using the rpm -ba <path_to_sane_spec_file>
  > - go to /usr/src/package/BUILD/sane-.../backends and replace the
  > epson.c and epson.h files with the ones from the from my web site
  > (http://www.freecolormanagement.com/sane)
  >
  > Then just do a make in the backends directory. This will rebuild
  > just the EPSON backend. You can find the new one in the .libs directory.
  > Just copy the file .libs/libsane-epson.so.1.0.4 to the Sane library
  > directory (probably /usr/lib/sane).
  >
  > Karl Heinz
  >
  > tateopfr@tin.it said:
  >
  > > Hi, Karl
  > > I'm testing using Mandrake 8.0 - libsane-epson.so.1.0.4
  > > original library is of 76952 bytes 4 gen 2001
  > > so is not updated
  > > I downloaded libsane-epson.so.1.0.4.tar.gz
  > > But how to build updated library ?
  > > Can you send me instructions to compile or a binary version ( 586, 686 ) ?
  > > I found a binary version of 82722 bytes ( some week ago and I forgot from
  > > where )
  > > but no solution
  > > always : PREMATURE AND OF FILE
  > >
  > > Best regards
  > >
  > > Pierfrancesco Tateo
  > >
  > > Karl Heinz Kremer wrote:
  > >
  > > > In your last mail you reported that this also happens with
  > > > my backend version dated 2001-03-31. I released this version
  > > > actually to fix this problem. The Perfection610/640 needs some
  > > > re-ordering of scan lines, which results in dropped lines at the
  > > > top and bottom of a scan. In older versions I got the number
  > > > of lines to drop wrong, the 3/31 version fixes this - at least
  > > > for the Perfection610. I don't have access to a 640, but so
  > > > far they proofed to be very similar.
  > > >
  > > > Can you please verify that the problem does show up with the
  > > > latest version.
  > > >
  > > > Thanks,
  > > >
  > > > Karl Heinz
  > > >
  > > > On Thu, Apr 26, 2001 at 10:49:36AM +0200, tateopfr@tin.it wrote:
  > > > > anthony coates wrote:
  > > > >
  > > > > > i have just bought this scanner and i can not get that far i can not
  > > > > > even scan
  > > > > > enything when i debug epson=255 scanimage -L
  > > > > > i get pnmo is a no name pnm file reader virual device and
  > > > > > i get pnm1 is a no name pnm file reader virtual device
  > > > > > what am i doing wrong if you could drop me a line i would be grateful
  > > > > > thanks---tony
  > > > >
  > > > > 1) I have used distribution with usb support : kernel >= 2.2.18,
  > > > > slackware 7.1, Mandrake 7.2 and 8.0
  > > > >
  > > > > 2) enable usb support test : ls /proc/bus/usb
  > > > > give you : 001/ 002/ devices driver
  > > > >
  > > > > 3) cat /proc/bus/usb/devices
  > > > > tell you with scanner connected to USB ( normally at the end ) :
  > > > > vendor = 0x4b8 product=0x10c
  > > > > Perfection 640
  > > > >
  > > > > 4) lsmod to see if the module : scanner is loaded
  > > > > if not you should type :
  > > > > modprobe scanner vendor=0x4b8 product=0x10c
  > > > >
  > > > > 5) you must have device definition : /dev/usb/scanner0
  > > > > to create it : mknod /dev/usbscanner0 c 180 48
  > > > > chmod 666 /dev/usb/scanner0 ( max global permission depend on you
  > > > > )
  > > > > you can create a general link : ln -s /dev/usb/scanner0
  > > > > /dev/usbscanner
  > > > >
  > > > > 6) you should have /etc/sane.d/epson.conf ( location depends on
  > > > > distribution )
  > > > > enable at the and of this file : /dev/usbscanner
  > > > >
  > > > > 7) you are ready :
  > > > > scanimage -d epson --mode gray > gray.pnm : 10-20 second
  > > > > and scanner start
  > > > > scanimage -d epson --mode color > color.pnm :
  > > > >
  > > > > or more flexible and with preview : xscanimage
  > > > >
  > > > > in both cases ( scanimage and xscanimage )
  > > > > opening generated color files with
  > > > > GIMP ( other programs give error too )
  > > > > show a messagge : PREMATURE END OF FILE
  > > > > and is not possible to see.
  > > > >
  > > > > Best regards
  > > > >
  > > > > Pierfrancesco Tateo
  > > >
  > > > ------------------------------------------------------------------------
  > > > Part 1.2Type: application/pgp-signature
  > >
  >
  > --

      --
      Source code, list archive, and docs: http://www.mostang.com/sane/
      To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

  - Next message: Florian Friesdorf: "snapscan 1212U (not _2), Floating Point Exception"
  - Previous message: Victor: "Re: Problems with xsane & scanner"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Thu Apr 26 2001 - 10:42:13 PDT