forked from pool/sane-backends
checked in
OBS-URL: https://build.opensuse.org/package/show/graphics/sane-backends?expand=0&rev=7
This commit is contained in:
parent
e73483992d
commit
27d54dc4c7
@ -23,8 +23,8 @@ egrep '^\[|^model[1-9]*|^scan-type|^usb-pid' | sed -e 's/^\[\(.*\)\]$/class=\1/'
|
|||||||
|
|
||||||
# Output header:
|
# Output header:
|
||||||
echo ':backend "hpaio"'
|
echo ':backend "hpaio"'
|
||||||
echo ':version "3.9.8"'
|
echo ':version "2.8.4"'
|
||||||
echo ':url "http://hplipopensource.com"'
|
echo ':url "http://hplip.sourceforge.net/"'
|
||||||
echo ':comment "This backend is not included in SANE because it is included in the HPLIP software."'
|
echo ':comment "This backend is not included in SANE because it is included in the HPLIP software."'
|
||||||
echo ':devicetype :scanner'
|
echo ':devicetype :scanner'
|
||||||
echo ':mfg "Hewlett-Packard"'
|
echo ':mfg "Hewlett-Packard"'
|
||||||
@ -63,19 +63,8 @@ Output()
|
|||||||
for MODEL in $( echo $UNIFIEDMODELS )
|
for MODEL in $( echo $UNIFIEDMODELS )
|
||||||
do MODEL=$( echo $MODEL | sed -e "s/_/ /g" )
|
do MODEL=$( echo $MODEL | sed -e "s/_/ /g" )
|
||||||
echo ":model \"$MODEL\""
|
echo ":model \"$MODEL\""
|
||||||
if echo "$ID" | grep -q '[1-9a-f]'
|
if echo "$ID" | grep '[1-9a-f]' | grep -q '[0-9a-f][0-9a-f][0-9a-f][0-9a-f]'
|
||||||
then if echo "$ID" | grep -q '^[0-9a-f][0-9a-f][0-9a-f][0-9a-f]$'
|
|
||||||
then echo ":usbid \"0x03f0\" \"0x$ID\""
|
then echo ":usbid \"0x03f0\" \"0x$ID\""
|
||||||
else if echo "$ID" | grep -q '^[0-9a-f][0-9a-f][0-9a-f]$'
|
|
||||||
then echo ":usbid \"0x03f0\" \"0x0$ID\""
|
|
||||||
else if echo "$ID" | grep -q '^[0-9a-f][0-9a-f]$'
|
|
||||||
then echo ":usbid \"0x03f0\" \"0x00$ID\""
|
|
||||||
else if echo "$ID" | grep -q '^[1-9a-f]$'
|
|
||||||
then echo ":usbid \"0x03f0\" \"0x000$ID\""
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
echo ':status :good'
|
echo ':status :good'
|
||||||
echo
|
echo
|
||||||
|
62179
models.dat
62179
models.dat
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Fri Sep 18 12:53:45 CEST 2009 - jsmeix@suse.de
|
|
||||||
|
|
||||||
- Updated models.dat with the one in the HPLIP 3.9.8 sources and
|
|
||||||
adapted create_hpaio.desc_from_models.dat accordingly so that
|
|
||||||
it results a hpaio.desc scanner description file for SANE
|
|
||||||
which matches to the sacnner models which are supported
|
|
||||||
by our currently provided HPLIP version.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 13 14:25:00 CEST 2009 - jsmeix@suse.de
|
Thu Aug 13 14:25:00 CEST 2009 - jsmeix@suse.de
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user