Wikia

How To Wiki

How to get an HP OfficeJet scanner to work in Linux/HPOJ method

< How to get an HP OfficeJet scanner to work in Linux

1,794pages on
this wiki
Talk0

HPOJ is obsolete, hplib is now used

Use: Howto get an HP OfficeJet scanner to work in Linux


  1. Installation
    1. Install HPOJ drivers, http://hpoj.sourceforge.net/
    2. Install Sane, http://www.sane-project.org/
    3. Install XSane, http://www.xsane.org/
    4. Optional Install lsusb
  2. Edit /etc/sane.d/dll.conf
    • Add hpoj to a new line
  3. Start Up Drivers
    1. Execute: /etc/init.d/hpoj start
  4. Testing
    • First execute: export SANE_DEBUG_DLL=128
    • Test 1: Execute lsusb
      • Output: Bus 002 Device 002: ID 03f0:2311 Hewlett-Packard, or similar
    • Test 2: Execute scanimage -L
      • Output: [dll] load: searching backend `hpoj' in `/usr/lib/sane'
      • Output: [dll] load: trying to load `/usr/lib/sane/libsane-hpoj.so.1'
      • Output: [dll] load: dlopen()ing `/usr/lib/sane/libsane-hpoj.so.1'
      • Output: [dll] init: initializing backend `hpoj'
      • Output: [dll] init: backend `hpoj' is version 1.0.6
      • Output: [dll] sane_get_devices: found 1 devices
      • Output: device `hpoj:mlc:usb:officejet_d_series' is a Hewlett-Packard Officejet d series multi-function peripheral
  5. Run xsane as non-root user, and see if works

Around Wikia's network

Random Wiki