Re: HP C6270 works with scan-hp

Pkirchg@aol.com
Tue, 17 Nov 1998 16:39:09 EST

> Hi,
>
> My HP C6270A works with scan-hp driver.
> However, there are a couple of problems I noticed:
>
> 1. The first time I ran the "xscanimage" it took five minutes
> each time I scanned a page. ...
> Later I figured out why: My home directory is NFS mounted, ...
> Documenting this "feature" should be sufficient.

Hi,

there are several things about the home-directory
(see manual page for xscanimage):
SANE creates a .sane-directory
xscanimage creates a .sane/xscanimage directory
hp-backend tries to find a file in the .sane-directory

>
> 2. The quality I get is random. The first time I used it
> I was getting all sorts of gray "dirt" like I had smired
> ink on the page. The next time (after a reboot) I kept
> getting rainbows across the page, or dark bands in grey
> mode. After a third reboot, I began getting nearly perfect
> scans.
>
> Solution: If this is a bug in the software, then the
> best solution is to fix it.

I am not quite sure what the problem is. Maybe its a problem of the software,
maybe the scanner does not return enough data. But in that case I would
expect to get an error code from the read-routine.

> If this is a problem with
> the scanner, then there needs to be a way to reset the
> scanner other than rebooting my machine. ...

The first command that is send to the scanner is a Reset.

> the scanner... I also tried just unplugging the scanner,
> but then I can't access the scanner at all until I reboot.

On my Linux machine I can switch off and on the scanner (a HP photosmart)
and with the second restart of xscanimage it gets the scanner.

>
> 3. If there is paper in the auto document feeder when I start
> the "xscanimage" program for the first time, it decides my
> pages have zero lines. (This makes for very fast scans of
> zero size files...)

I have to look how HP wants the ADF to be handled. Up to now there is no
special support for the ADF. From another user I have heard, that it works
if the ADF is empty when starting xscanimage.

>
> 4. Is there a way to specify an output program? e.g.
>
> |cjpeg -q 100 > foo.jpg
>
> as the output program? ...

That should be handled by the frontend. I think some e-mails ago
there was an attemp for adding filters.

>
> 5. Is there a way to tell the program to scan all the pages
> in the document feeder?
>

Currently not. In this case we also should have an
automatic numbering of output files like out%d.pnm .

> ...
> we have no control over. To do this, I'll probably have to code
> things to use the sane.so files directly. Is there any documentation
> for the API interface, or will I just have to study the source
> code?
>

You can have a look at the file sane-<version>/doc/sane.tex

> Thanks,
>
> Bill

Sincerely

Peter

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