Connection error g85 hplip

Asked by Gehuigert

Hi,

I tried to install officejet g85 on my ubuntu 12.04 computer.

I follwed the hplip....run (most recent version) that is provided on the hplipopensource website. When the hp-setup window opened, the printer wasn't shown (it's a local printer connected with usb). Then I used the lsusb command in my terminal to find the bus and device number (which is 003:004) and I manually added the printer via advanced options. This worked (it showed the correct printer name), but it gave the following error in my terminal:

Found device: hp:/usb/OfficeJet_G85?serial=SGF0BE29FPVL
\error: Unable to communicate with device (code=12): hp:/usb/OfficeJet_G85?serial=SGF0BE29FPVL
error: Unable to print to printer. Please check device and try again.

The hp-check -r i gives the following errors:
error: Unable to communicate with device (code=12): hp:/usb/OfficeJet_G85?serial=SGF0BE29FPVL
error: Device not found
error: Communication status: Failed

Previously this also gave an error on the lp/lpadmin, I don't know how but that disappeared (hopefully is fixed) now.

When I try to print a document, there is a popup saying there is a connection error, while the connection is fine (and printing works on Windows 7)

Does anyone know a solution ?

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Gehuigert
Solved:
Last query:
Last reply:
Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) said :
#1

Hi,

I think, this issue is due to libusb-0.1 and libusb-1.0 packages.
I mean latest HPLIP considers the libusb-1.0 package as default, whereas g85 printer little bit older and it doesn't work on libusb-1.0 and works on libusb-0.1.

Please make following changes to work g85 printer.

1) go to hplip-3.12.11 (i.e. change according to whatever version installed. assuming hplip-3.12.11.run is download to ~/Downloads folder )
$ cd ~/Downloads/hplip-3.12.11

2) run configure command with libusb01 setting
$ ./configure --prefix=/usr --enable-libusb01_build

3) run make
$ make
$ sudo make install

4) try printing now.

Thanks & Regards,
Amarnath

Revision history for this message
Gehuigert (jdhaese) said :
#2

Thanks! It worked!