
   SANE (Scanner Access Now Easy) Ver 1.0.12 for OS/2(Only Epson USB-Scanner)
  ----------------------------------------------------------------------------

Description
============
Only Epson Scanner.
This application is Test Version(Ver0.51).
This Application is introduced to the public with a purpose of becoming the
help which a USB Scanner is available for with OS/2.
SANE Ver 1.0.12 compiled with IBM VAC/2.


EPSON USB-Scanner Product ID
  0x101, 	/* Perfection 636U and 636Photo.         Not tested.
  0x103, 	/* Perfection 610.                       Not tested.
  0x10c, 	/* Perfection 640U.                      Tested.
  0x104, 	/* Perfection 1200U and 1200Photo.       Not tested.
  0x10b, 	/* Perfection 1240U.                     Not tested.
  0x106, 	/* Stylus Scan 2500.                     Not tested.
  0x10a,	/* Perfection 1640SU and 1640SU Photo.   Tested. Thanks Doug Rickman.
  0x107, 	/* Expression 1600.                      Not tested.
  0x10e, 	/* Expression 1680.                      Not tested.
  0x110, 	/* Perfection 1650.                      Tested.
  0x112, 	/* Perfection 2450(GT-9700F).            Tested.
  0x11b, 	/* Perfection 2400 Photo.                Tested. Thanks Doug Rickman.
  0x11c,	/* Perfection 3200(GT-9800)              Not tested.
  0x11e, 	/* Perfection 1660 Photo.                Tested.
  0x801,	/* CX-5200                               Not Tested.
  0x802,	/* CX-3200                               Not Tested.


Files
======
- Readme.txt      : This File.
- scanimage.exe   : SANE Frontend.
- libsane.dll     : SANE Backend.
- epson.conf      : Epson Scanner configer.

- \USBSCAN
-- readme         : USBSCAN.SYS readme text.
-- usbscan.sys    : USB-Scanner Device class Driver Ver 0.3j.
-- scaninfo.exe   : USB-Scanner Infomation utility.
-- scaninfo.def   : DEF File.
-- scaninfo.c     : scaninfo.exe sorce code.


Requirements
=============
- OS/2 Warp 3/4 or Warp Server for e-Business.
  (Warp 3 and Warp Server not tested)
- USB Basic device drivers(After Augest,2003).
- USB Scanner device class driver(Included).


Installation
==============
Copy scanimage.exe and libsane.dll epson.conf to your directory.
USB Scanner device class Driver is SEE \USBSCAN\readme.
The directory name which installed Scanimage.exe in config.sys is added.
  SET SANE_CONFIG_DIR=X:\scanimage


Usage
======
scanimage [OPTION]...

For Example
------------
 Help Infomation.
  scanimage --mode gray -h > gray.txt
  scanimage --mode color -h > color.txt

 Start Scanning
  scanimage --mode color --resolution 400 --film-type "Positive Film" -d usbscan$ > Image.ppm


Hints of Source Code
=====================
This Application is being compiled in IBM VAC/2.
Infomation to give to the following isn't mentioned about that parts.


a) FRONTEND(scanimage.exe)
-------------------------
scanimage.c  : Changed.  Epson GT-9700F is Max Transfer data size 64k Byte.
    Line 1012.        SANE_Byte buffer[32 * 1024], min = 0xff, max = 0;
         Change       SANE_Byte *buffer, min = 0xff, max = 0;
    Add line 1022.    buffer = alloca( 64*1024 );

stiff.c      : Original.


b) BACKEND(libsane.dll)
------------------------
epson.c                 : Original(SANE Epson Backend v0.2.36 - 2003-03-26).
epson_usb.c             : Original.
epson_scsi.c            : Original.
sanei_usb.c             : Changed.  Ask me.
sane_strstatus.c        : Original.
sanei_config.c          : Original.
sanei_config2.c         : Original.
sanei_pio.c             : Original.
sanei_scsi.c            : Original.
sanei_init_debug.c      : Original.
sanei_constrain_value.c : Original.

c) epson.conf
--------------
epson.conf    : Changed.  SEE epson.conf.
    Line 6.         scsi EPSON
         Chenge.    #scsi EPSON
    Add line 19.    usb usbscan$


Known bugs
===========
No problem.


Bug Reporting
==============
If you find any bugs, please tell me at the contact address below.
- scanimage.exe and libsane.dll version(Date).
- USBSCAN.SYS version.
- OS/2 Version and fixpack level
- USB Basic device driver Version(Date)
- Description of your usb hardware
- scaninfo.exe data


Version History
================
 Ver 0.3   2002-12-**    Initial release
 Ver 0.31  2003-02-22    SANE Ver1.0.11 compiled.
 Ver 0.4   2003-03-05    Fixed Image broken.
 Ver 0.5   2003-06-12    SANE Ver1.0.12 compiled.
                         Fixed Perfection 640U Image header.
                         Fixed It's unusually finished when it's interrupted 
                         during scanning.
 Ver 0.51  2003-06-22    Fixed Perfection 610U Image header.


Special Thanks.
================
Klaus Staedtler. Tame/2 Ver 0.9.8 Front-Frontend application.
Doug Rickman.    Beta testing.


Copyright
==========
 Copyright (c) 2002,2003 Team Arum Japan. All rights reserved.


DISCLAIMER
==========
EXCEPT AS OTHERWISE RESTRICTED BY LAW, THIS WORK IS PROVIDED
WITHOUT ANY EXPRESSED OR IMPLIED WARRANTIES OF ANY KIND, INCLUDING
BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES OF FITNESS FOR A
PARTICULAR PURPOSE, MERCHANTABILITY OR TITLE.  EXCEPT AS
OTHERWISE PROVIDED BY LAW, NO AUTHOR, COPYRIGHT HOLDER OR
LICENSOR SHALL BE LIABLE TO YOU FOR DAMAGES OF ANY KIND, EVEN IF
THEY HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


Contact
========
 Author:        Maeda Haruyuki
 e-mail:        sacana@luck.ocn.ne.jp



