Comment 2 for bug 217642

Revision history for this message
Johannes Meixner (jsmeix) wrote :

Furthermore hpaio.desc seems to contain
many (all?) plain printers too, i.e. devices
with "scan-type=0" in models.dat, e.g. my
"Deskjet 3320" for which no scanner unit
is available (in contrast to e.g. a LaserJet 1200
for which a scanner unit is available which
make it a LaserJet 1220).

Because hpaio.desc is currently totally broken,
I use for openSUSE 11.0 the attached script
which creates hpaio.desc from models.dat
and tests for scan-type != 0 in models.dat.

Currently I inherit the duplicates from models.dat
and I don't have e.g. a LaserJet 1200 in hpaio.desc
because it has "scan-type=0" in models.dat.

Nevertheless what the script creates is much better
than the upstream hpaio.desc.

The license of the script is under the same license as
the HPLIP package itself (i.e. feel free to use it and
adapt it to your needs).