Regarding
grep 'usb-pid=$' /usr/share/hplip/data/models/models.dat|wc -l 135
see the comments at the end of /usr/share/hplip/data/models/models.dat
# io-support: (bitfield) # 1 = parallel # 2 = usb # 4 = ethernet # 8 = wireless 802.11 # 16 = bluetooth
Then run something like
egrep '^io-support|^usb-pid' /usr/share/hplip/data/models/models.dat \ | grep -B1 '^usb-pid=$'
which results much less models which actually have USB support but no usb-pid.
Regarding
grep 'usb-pid=$' /usr/share/ hplip/data/ models/ models. dat|wc -l
135
see the comments at the end of /usr/share/ hplip/data/ models/ models. dat
# io-support: (bitfield)
# 1 = parallel
# 2 = usb
# 4 = ethernet
# 8 = wireless 802.11
# 16 = bluetooth
Then run something like
egrep '^io-support| ^usb-pid' /usr/share/ hplip/data/ models/ models. dat \
| grep -B1 '^usb-pid=$'
which results much less models which actually have USB support
but no usb-pid.