HP G85 not printing with Ubuntu 12.10 - 64

Asked by Wiebren Spieker

Done this in terminal : but no result..

wiebren@WiebrenDesktop:/$ hp-check -r --fix

HP Linux Imaging and Printing System (ver. 3.12.11)
Dependency/Version Check Utility ver. 15

Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).

Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
    OK
    MISSING - Missing Dependency or Permission or Plug-in
    INCOMPAT - Incompatible dependency-version or Plugin-version

Saving output in log file: /hp-check.log

Initializing. Please wait...
warning: ubuntu-12.10 version is not supported. Using ubuntu-12.04 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 GNU/Linux
 Host: WiebrenDesktop
 Proc: 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 GNU/Linux
 Distribution: ubuntu 12.10

-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.12.11
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro 12.10 version

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.12.11

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-3.12.11
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.12.11
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.12.11

Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1354724884
pending_upgrade_time = 0
latest_available_version = 3.12.11

[installation]
date_time = 16-12-12 13:09:43
version = 3.12.11

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/usb/OfficeJet_G85?serial=SGF0B10483VL"
printer_name =
working_dir = .

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

 <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>

--------------------------
| External Dependencies |
--------------------------

 gs Ghostscript REQUIRED 7.05 9.06 OK -
 network Network-wget OPTIONAL - 1.13.4 OK -
 dbus DBus REQUIRED - 1.6.4 OK -
 scanimage Shell-Scanning OPTIONAL 1.0 1.0.23 OK -
 policykit Admin-Policy-framework OPTIONAL - 0.104 OK -
 error: xsane SANE-GUI OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
 cups CUPS REQUIRED 1.1 1.6.1 OK 'CUPS Scheduler is running'

-------------------------
| General Dependencies |
-------------------------

 reportlab Python-PDF-Lib OPTIONAL 2.0 2.5 OK -
 libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK -
 pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
 pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.9.3 OK -
 libjpeg JPEG-Lib REQUIRED - - OK -
 libpthread POSIX-Threads-Lib REQUIRED - 2.15 OK -
 python-dbus Python-DBUS REQUIRED 0.80.0 1.1.1 OK -
 python-devel Python-SDK REQUIRED 2.2 2.7.3 OK -
 pyqt4 Python-Qt4 REQUIRED 4.0 4.9.3 OK -
 cups-devel CUPS-SDK REQUIRED - 1.6.1 OK -
 sane-devel SANE-SDK REQUIRED - 1.0.23 OK -
 libusb USB-Lib REQUIRED - 1.0 OK -
 sane Scan-Lib REQUIRED - 1.0.23 OK -
 cups-image CUPS-Image-Lib REQUIRED - 1.6.1 OK -
 libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.4.3 OK -
 python-xml Python-XML-Lib REQUIRED - 2.1.0 OK -
 python-notify Desktop-notifications OPTIONAL - - OK -

----------------------
| Python Extentions |
----------------------

 cupsext CUPS-Extension REQUIRED - 3.12.11 OK -
 pcardext PhotoCard-Extension REQUIRED - 3.12.11 OK -
 hpmudext IO-Extension REQUIRED - 3.12.11 OK -

-----------------------
| Scan Configuration |
-----------------------

 hpaio HPLIP-SANE-Backend REQUIRED - 3.12.11 OK 'hpaio found in /etc/sane.d/dll.conf'
 scanext Scan-SANE-Extension REQUIRED - 3.12.11 OK -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

OfficeJet_G85
-------------
Type: Printer
Device URI: hp:/usb/OfficeJet_G85?serial=SGF0B10483VL
PPD: /etc/cups/ppd/OfficeJet_G85.ppd
PPD Description: HP Officejet g85, hpcups 3.12.6
Printer status: printer OfficeJet_G85 is idle. enabled since za 15 dec 2012 18:55:53 CET
error: Unable to communicate with device (code=12): hp:/usb/OfficeJet_G85?serial=SGF0B10483VL
error: Device not found
error: Communication status: Failed

--------------
| PERMISSION |
--------------

groups user-groups Required - - OK wiebren adm lp dialout fax cdrom floppy tape sudo dip www-data video plugdev users fuse lpadmin scanner sambashare

USB OfficeJet_G85 Required - - OK Node:'/dev/bus/usb/003/003' Perm:' root lp rw- rw- rw- rw- r--'

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'xsane' package is missing/incompatible

Total Errors: 3
Total Warnings: 0

------------------------------------
| Installation of Missing Packages |
------------------------------------

Install missing/incompatible packages. (a=install all*, c=custom_install, s=skip, q=quit):a

ENTER USER PASSWORD
-------------------
Please enter the user (wiebren)'s password:
Password accepted
Updating repository
-------------------
cmd =sudo dpkg --configure -a
cmd =sudo apt-get install --yes --force-yes -f
cmd =sudo apt-get update
Installing Missing/Incompatible packages
----------------------------------------
cmd =sudo apt-get install --assume-yes xsane
cmd =sudo apt-get install --assume-yes gtk2-engines-pixbuf

Done.
wiebren@WiebrenDesktop:/$

Question information

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

Hi,

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

In Ubuntu 12.10, libusb-0.1 is not supported. Please install manually libusb-0.1 package. and make following changes to work g85 printer:-

1) go to hplip-3.12.11 (i.e. 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
Wiebren Spieker (wspieker) said :
#2

Thanks Amarnath Chitumalla, that solved my question.

Revision history for this message
Wiebren Spieker (wspieker) said :
#3

Thank you, Amarnath-Chitumalla ! Your solution works fine !!