HPAIO Scanner module - based on HPLIP v3.13.3 - 2013-05-26 build

**NEW** USB scanners are working - well a Photosmart 7510 is anyway!
       Needs http://sourceforge.net/projects/ecsports/files/sane-1.0.22-os2-20120131.zip/download or newer 

Requires libusb10.dll from http://os2ports.smedley.id.au/index.php?page=libusb-1-0

Rough instructions:
1) Put hpaio.dll in \sane\lib\sane

2) copy hplip.conf to %ETC%

3) Move the hplip directory somewhere convenient

4) If hplip is not off the root of the bootdrive, edit %ETC%\hplip.conf and ensure the line:
home=/hplip/share/hplip reflects the correct path.

4) edit \sane\etc\sane.d\dll.conf and add hpaio

** Network scanners **
5) run 'hp-mkuri -i aaa.bbb.ccc.ddd' to determine the uri for the network scanner, it will produce output like:
  hp-mkuri -i 192.168.1.150
  MIB search path: C:\HOME\DEFAULT/.snmp/mibs;/net-snmp/share/snmp/mibs
  Cannot find module (:SNMPv2-MIB:IF-MIB:IP-MIB:TCP-MIB:UDP-MIB:HOST-RESOURCES-MIB
  :NOTIFICATION-LOG-MIB:DISMAN-EVENT-MIB:DISMAN-SCHEDULE-MIB:UCD-SNMP-MIB:UCD-DEMO
  -MIB:SNMP-TARGET-MIB:NET-SNMP-AGENT-MIB:HOST-RESOURCES-TYPES:SNMP-MPD-MIB:SNMP-U
  SER-BASED-SM-MIB:SNMP-FRAMEWORK-MIB:SNMP-VIEW-BASED-ACM-MIB:SNMP-COMMUNITY-MIB:N
  ET-SNMP-PASS-MIB:NET-SNMP-EXTEND-MIB:UCD-DLMOD-MIB:SNMP-NOTIFICATION-MIB:SNMPv2-
  TM:NET-SNMP-VACM-MIB): At line 1 in (none)
  hp:/net/Photosmart_7510_series?ip=192.168.1.150
  hpaio:/net/Photosmart_7510_series?ip=192.168.1.150

** USB scanners **
6) run 'hp-mkuri -b 1 -d 1' to determine the appropriate parameters for the scanner. 
   Note -d 1 assumes the HP scanners is the only device attached. Experiment
   with different values until the device is detected.

   If a scanner is detected the output will look something like:
	hp:/usb/Photosmart_7510_series?serial=CN2163429205T6
	hpaio:/usb/Photosmart_7510_series?serial=CN2163429205T6

7) The output from hp-mkuri starting with hpaio:/ is the device parameter for scanimage.
	eg hpaio:/net/Photosmart_7510_series?ip=192.168.1.150 for a network scanner OR
           hpaio:/usb/Photosmart_7510_series?serial=CN2163429205T6 for a USB scanner

8) test a scan using the following command (from \sane)
  scanimage -d hpaio:/net/Photosmart_7510_series?ip=192.168.1.150 > output.pnm

9) output.pnm should contain the results of the scan

Please send success/failure information to paul@smedley.id.au

In the event of failure, syslogd can be used to capture debug information.

Cheers,

Paul Smedley
Adelaide, South Australia
17th May, 2013


