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,795pages on
this wiki
Add New Page
Talk0 Share

HPOJ is obsolete, hplib is now used

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

  1. Installation
    1. Install HPOJ drivers,
    2. Install Sane,
    3. Install XSane,
    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/'
      • Output: [dll] load: dlopen()ing `/usr/lib/sane/'
      • 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

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki