Re: ScanJet 5p working with SANE

David Mosberger-Tang (davidm@azstarnet.com)
Thu, 12 Jun 1997 08:11:35 -0700

>>>>> On Thu, 12 Jun 1997 10:29:39 +1200, Rodger Donaldson <rodgerd@ihug.co.nz> said:

Rodger> I have an HP ScanJet 5p working with SANE 0.57 (sort of).
Rodger> The details are:

Rodger> Host: scsi0 Channel: 00 Id: 02 Lun: 00 Vendor: HP Model:
Rodger> C5110A Rev: 3638 Type: Processor ANSI SCSI revision: 02

Rodger> It's hanging off an Adaptec 2940, on an x86 system running
Rodger> the RH 4 dist of Linux, upgraded to Kernel 2.0.27 and libc
Rodger> 5.4.22

Rodger> The problem is that currently, the preview function doesn't
Rodger> work. If I open the preview window, all OK. If I try
Rodger> activating the preview function, I get a:

Rodger> Error: Failed restore value of option tl-x: Invalid
Rodger> argument. Error: Failed restore value of option tl-y:
Rodger> Invalid argument.

Rodger> from stdout and a dialogue popping up to tell me "Not enough
Rodger> memory". Since I've got 32MB of physical RAM and another
Rodger> 50-odd MB of swap, this seems unlikely.

Rodger> Whether this is an error specific to the 5p or a problem
Rodger> with my build, I'm unsure.

It's a known problem with the 5p. Unlike all other ScanJets, the 5p
doesn't support the commands that specify the scan area in decipoints.
Instead, it only supports the commands that use the device-pixel unit.
So the HP backend needs to be changed to use the device-pixel commands
(all ScanJet scanners support this). It's not hard to do, but since I
don't have an HP scanner myself (yet), I can't do this effectively.
If you want to give a shot at it, let me know (I have the docs for the
necessary commands).

--david

--
Source code, list archive, and docs: http://www.azstarnet.com/~axplinux/sane/
To unsubscribe: mail -s unsubscribe sane-devel-request@listserv.azstarnet.com