[sane-devel] New test version of microtek2 backend

2001-12-21 Thread Karsten Festag
Hi folks
I made a whole lot of changes to the microtek2 backend (see
http://me/home/karsten.festag/software/readme).

Especially ADF users should test if the frontend gets now
SANE_STATUS_NO_DOCS rather than an I/O error in case of an empty ADF.
And X12 users should  give that version a try. Please use the following
microtek2.conf file:

option dump 2
option strip-height 14
# option lightlid-35 on
option lineart-autoadjust on
option toggle-lamp on
option no-backtrack-option on
option backend-calibration on
# option colorbalance-adjust on
scsi * * Scanner
# or
# /dev/sgx
# where sgx is your scanner device

In you frontend please  --disable--  the option 'no-backtracking' ; if
you use scanimage:

scanimage --no-backtracking=no ...  does the trick.

Regards

Karsten Festag



[sane-devel] Scanning from a Win2k client

2001-12-21 Thread Henning Meier-Geinitz
[resent due to sane-de...@mostang.com: No route to host: retry
timeout exceeded]

On Wed, Dec 19, 2001 at 01:41:20PM -0800, jim.geo...@edify.com wrote:
 Can anyone tell me how I can get my Win2k client to recognise that I have a
 scanner attached to my Linux server?
 
 I'm able to use xsane which works fine, but I want to be able to use the
 windows version of Star Office (which works fine under win95 on the same
 box)?

Maybe SaneTwain ( http://sanetwain.ozuzo.net/ ) is the right thing for
you?

Bye,
  Henning
  


[sane-devel] Followup on Epson Office 1640SU

2001-12-21 Thread Roger Rainey
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--_=_NextPart_001_01C18A65.02452360
Content-Type: text/plain;
charset=windows-1252

I did get the scanner working with ADF, however it crashes when no more
pages are detected. Here is the command used and the output
 
scanimage -d epson:/dev/sg1 --mode Color --resolution 80 -x 215.9 -y 279.4
--source Automatic Document Feeder \
--auto-eject=yes --sharpness 2 --batch=out%d.pnm
Scanning -1 pages, incrementing by 1, numbering from 1
Scanning page 1
Scanned page 1. (scanner status = 5)
Scanning page 2
Scanned page 2. (scanner status = 5)
Scanning page 3
Scanned page 3. (scanner status = 5)
Scanning page 4
Scanned page 4. (scanner status = 5)
Scanning page 5
Scanned page 5. (scanner status = 5)
Scanning page 6
[epson] option: fatal error
[epson] ADF: other error
[epson] ADF: no paper
scanimage: sane_start: Invalid argument
Scanned page 6. (scanner status = 4)
Segmentation fault (core dumped)

End of output
 
The result of this is that I get the pages I wanted scanned, but the last
piece of paper is stuck in the scanner. And if I try to use the flatbed, it
will scan down the scanner, but the lamp and reader does not return to  the
top. No error message is produced there, but now the scanner will not
respond to any more commands until it has been power cycted.
 
Anyone else experience this?
 
Roger

--_=_NextPart_001_01C18A65.02452360
Content-Type: text/html;
charset=windows-1252

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN
HTMLHEAD
META HTTP-EQUIV=Content-Type CONTENT=text/html; charset=windows-1252


META content=MSHTML 5.50.4134.600 name=GENERATOR/HEAD
BODY
DIVFONT face=Arial size=2SPAN class=510060521-21122001I did get the 
scanner working with ADF, however it crashes when no more pages are detected. 
Here is the command used and the output/SPAN/FONT/DIV
DIVFONT face=Arial size=2SPAN 
class=510060521-21122001/SPAN/FONTnbsp;/DIV
DIVFONT face=Arial size=2SPAN class=510060521-21122001scanimage -d 
epson:/dev/sg1 --mode Color --resolution 80 -x 215.9 -y 279.4 --source 
Automatic Document Feeder \/SPAN/FONT/DIV
DIVFONT face=Arial size=2SPAN class=510060521-21122001/SPAN/FONTFONT 
face=Arial size=2SPAN class=510060521-21122001--auto-eject=yes --sharpness 2 
--batch=out%d.pnmBRScanning -1 pages, incrementing by 1, numbering from 
1BRScanning page 1BRScanned page 1. (scanner status = 5)BRScanning page 
2BRScanned page 2. (scanner status = 5)BRScanning page 3BRScanned page 3. 
(scanner status = 5)BRScanning page 4BRScanned page 4. (scanner status = 
5)BRScanning page 5BRScanned page 5. (scanner status = 5)BRScanning page 
6BR[epson] option: fatal errorBR[epson] ADF: other errorBR[epson] ADF: no 
paperBRscanimage: sane_start: Invalid argumentBRScanned page 6. (scanner 
status = 4)BRSegmentation fault (core dumped)BR/SPAN/FONT/DIV
DIVFONT face=Arial size=2SPAN class=510060521-21122001End of 
output/SPAN/FONT/DIV
DIVFONT face=Arial size=2SPAN 
class=510060521-21122001/SPAN/FONTnbsp;/DIV
DIVFONT face=Arial size=2SPAN class=510060521-21122001The result of this 
is that I get the pages I wanted scanned, but the last piece of paper is stuck 
in the scanner. And if I try to use the flatbed, it will scan down the scanner, 
but the lamp and reader does not return tonbsp; the top. No error message is 
produced there, but now the scanner will not respond to any more commands until 
it has been power cycted./SPAN/FONT/DIV
DIVFONT face=Arial size=2SPAN 
class=510060521-21122001/SPAN/FONTnbsp;/DIV
DIVFONT face=Arial size=2SPAN class=510060521-21122001Anyone else 
experience this?/SPAN/FONT/DIV
DIVFONT face=Arial size=2SPAN 
class=510060521-21122001/SPAN/FONTnbsp;/DIV
DIVFONT face=Arial size=2SPAN 
class=510060521-21122001Roger/DIV/SPAN/FONT/BODY/HTML

--_=_NextPart_001_01C18A65.02452360--


[sane-devel] I don't need help :-)

2001-12-21 Thread la...@doolittle.boa.org
Henning Meier-Geinitz answered:
  [I want] automatic compression, basically by specifying a pipe instead
  of an output file name.  cjpeg will do the trick.
 So you want to get jpegs instead of pnms? XSane might be the right
 frontent for you (http://www.xsane.org) :-)

I tried xsane-0.82, and yes that's what I want.  That version
seems to have an unfortunate bug that keeps me from saving from
the image previewer (not the quick preview, but the one for
full resolution images you get in Viewer mode).

  If a daemon were sitting there, it might
  have a chance of using the copy button [ on my Epson 1650 ]
  for what it's designed for.
 I think the idea with the daemon is ok. IIRC there are similar daemons
 for other scanners. Press the button and xsane (or any other backend)
 will start. Probably nobody has written this daemon for your scanner
 until now...

I guess there are two halves to this trick.  One is to start up
something like scanimage in a mode where it waits for a button
press.  If it returns normally, print the image file it grabbed
and loop.  The harder trick is to make a user invocation of
xsane automatically abort this background daemon, and then
restart the daemon on exit.

I'm normally rather security conscious, but compromises may be
needed at first.  It's not so bad in my particular case, since
this machine is on a net that is effectively firewalled off from
attackers.  When my 12-year old starts competently trying to break
root, I'll jump for joy.

  - Larry