[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#883182: libsane-hpaio: SCL scan resolutions list too restrictive



Package: libsane-hpaio
Version: 3.14.6-1+deb8u1
Severity: normal

Dear Maintainer,

Somewhere between 3.10 and 3.14 the supported resolutions for SCL
scanners changed from a range to a list.  This manifests in xsane
as a change from a text box where you can enter any resolution
you want to a drop-down list of resolutions to choose from.

To me this change is an unacceptable loss of functionality.
(I'll explain why at the end).

I found that I could reinstate the old functionality by commenting out
one line in the SetResolutionListSCL() function in scan/sane/scl-pml.c:

hpaio->option[OPTION_SCAN_RESOLUTION].constraint_type = SANE_CONSTRAINT_WORD_LIST;

Please consider making one of the following changes:

1. Comment out that line (or make an equivalent change).  This is the
simplest option, but I suppose is unlikely to be accepted upstream and
so would need to be maintained indefinitely as a debian patch.

2. Provide a configuration option (in /etc/hp/hplip.conf?) so that it is
possible to choose between a resolution range and a list.

3. Provide a configuration option to override the default list of
supported resolutions, which is hard-coded in SetResolutionListSCL().

4. Change the list of supported resolutions in SetResolutionListSCL() so
that it has a few new ones in between the existing ones.  E.g. instead of:

 ... 300, 600, 1200, 2400, ...

it has:

 ... 300, 400, 500, 600, 700, 800, 900, 1000, 1200, 1400, 1600, 1800,
     2000, 2400, ...

These options are in decreasing order of preference for me, but your
preference may differ (as may upstream's).

As to why the new SCL resolution list is an unacceptable loss of
functionality for me, it's because I like to scan 6x4 photos at 800 dpi.
I could achieve the same result by scanning at 1200 and then scaling the
photo afterwards, but this is not an acceptable solution because my
scanner behaves completely differently at 1200 dpi.  Instead of scanning
quite quickly in one continuous motion like it does at 800, at 1200 it
scans extremely slowly with many back-and-forth motions that drive me
nuts.

I'm sure there must be many other Debian users with HP SCL scanners who
would prefer that the list of resolutions was not so restrictive.

-- System Information:
Debian Release: 8.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages libsane-hpaio depends on:
ii  libc6        2.19-18+deb8u10
ii  libcups2     1.7.5-11+deb8u1
ii  libdbus-1-3  1.8.22-0+deb8u1
ii  libhpmud0    3.14.6-1+deb8u1
ii  libssl1.0.0  1.0.1t-1+deb8u7

Versions of packages libsane-hpaio recommends:
ii  hplip       3.14.6-1+deb8u1
ii  sane-utils  1.0.24-8+deb8u2

libsane-hpaio suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/lib/sane/libsane-hpaio.so.1.0.0 (from libsane-hpaio package)
** This is because I have replaced it with the "fixed" one I built.


Reply to: