Ubuntu 12.10 - HP Deskjet 3512 - Can't print

Asked by Robert Conely on 2012-11-12

I recently upgraded to Ubuntu 12.10 and all was well using my HP j5700 printer. I bought a new printer HP Deskjet 3512 and was surprised to find it was not supported by this version of Ubuntu. I followed instructions at http://hplipopensource.com/ and downloaded hplip-3.12.10a. I installed the HP drivers and tray successfully (I choose Ubuntu 12.04 as my OS on the website but the installer recognized it as 12.10). Now I have no problems recognizing the printer is plugged in and is idle but when I print the document appears in the queue, the notification from the HP tray says its being printed, and after a few seconds it dissapears from the queue and the message succesfully printed pops up while the document does not print. I have tried .pdf, open office and terminal commands to print all with the same result. However, if the printer is in power save mode, the display panel does light up on the printer. I ran hp-check -t and got:

rob@rob-new-laptop:~$ hp-check -t

HP Linux Imaging and Printing System (ver. 3.12.10a)
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: /home/rob/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-18-generic #29-Ubuntu SMP Fri Oct 19 10:26:51 UTC 2012 GNU/Linux
 Host: rob-new-laptop
 Proc: 3.5.0-18-generic #29-Ubuntu SMP Fri Oct 19 10:26:51 UTC 2012 GNU/Linux
 Distribution: ubuntu 12.10

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

HPLIP-Version: HPLIP 3.12.10a
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.10a

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.12.10a
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=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=no
cups-drv-install=no
cups-ppd-install=no
internal-tag=3.12.10a
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
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.10a

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 11/12/2012 17:15:34
version = 3.12.10a

[upgrade]
latest_available_version = 3.12.10a
notify_upgrade = true
last_upgraded_time = 1352756619
pending_upgrade_time = 0

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/usb/Deskjet_3510_series?serial=CN297112MS05R7"
printer_name =
working_dir = .

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

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

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[scan_plugins]
bb_marvell.so = Present
bb_soapht.so = Present
bb_soap.so = Present

[fax_plugins]
fax_marvell.so = Present

[print_plugins]
lj.so = Present

 <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 -
 xsane SANE-GUI OPTIONAL 0.9 0.998 OK -
 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 -

------------------------------
| Compile Time Dependencies |
------------------------------

 gcc gcc-Compiler REQUIRED - 4.7.2 OK -
 libtool Build-tools REQUIRED - 2.4.2 OK -
 make GNU-Build-tools REQUIRED 3.0 3.81 OK -

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

 cupsext CUPS-Extension REQUIRED - 3.12.10a OK -
 pcardext PhotoCard-Extension REQUIRED - 3.12.10a OK -
 hpmudext IO-Extension REQUIRED - 3.12.10a OK -

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

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

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

device `hpaio:/usb/Deskjet_3510_series?serial=CN297112MS05R7' is a Hewlett-Packard Deskjet_3510_series all-in-one

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

  Device URI Model
  -------------------------------- ----------------------
  hp:/usb/Deskjet_3510_series?seri HP Deskjet 3510 series
  al=CN297112MS05R7

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

Deskjet_3510
------------
Type: Printer
Device URI: hp:/usb/Deskjet_3510_series?serial=CN297112MS05R7
PPD: /etc/cups/ppd/Deskjet_3510.ppd
PPD Description: HP Deskjet 3510 Series hpijs, 3.12.10a
Printer status: printer Deskjet_3510 is idle. enabled since Mon 12 Nov 2012 05:11:01 PMready to print
Communication status: Good

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

groups user-groups Required - - OK rob adm lp dialout cdrom plugdev lpadmin admin sambashare

USB Deskjet_3510 Required - - OK Node:'/dev/bus/usb/002/004' Perm:' root lp rw- rw- rw- rw- ---'

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

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

Missing Optional Dependencies
-----------------------------
None

Total Errors: 0
Total Warnings: 0

No errors or warnings.

Done.
rob@rob-new-laptop:~$

I know this may have resulted from my new and potentially unsupported Ubuntu distro, but I hoped there might be some fix other than returning to 12.04 (Which I installed on another computer and the printer works.) I welcome any help or suggestion. Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Sanjay Kumar
Solved:
2012-11-13
Last query:
2012-11-13
Last reply:
2012-11-13
Best Sanjay Kumar (sanjay-kumar14) said : #1

Hello Robert,

Ubuntu 12.10 is not yet supported in the auto installer of HPLIP (3.12.10a). The same will be supported in the next version of HPLIP. However in order to resolve the issue Please follow below steps.

1) sudo hp-uninstall

2)Follow manual installation instructions provided at:

    http://hplipopensource.com/hplip-web/install/manual/distros/ubuntu.html

3) Reconfigure print queue with the commands in the terminal mentioned below.
       => system-config-printer (remove all print queues)
      => sudo hp-plugin (This will download right plugin)
       => hp-setup (It should not be run in a root mode. This command is adding print queue, make sure you select ppd name having "-ps" or "hpcups" substring)
=>Try printing now.

Robert Conely (robdogbird) said : #2

Thanks, this was my first experience with launchpad and it was great, I will continue to support the Ubuntu/ open source community any way possible!

Robert Conely (robdogbird) said : #3

Thanks Sanjay Kumar, that solved my question.

Jamie Ratliff (wallis-wife) said : #4

I have tried doing the exact same thing step by step as instructed for him, and my printer won't even install that way...

For the HP 3512 i used HP 3520 eAll-in-One setting and it prints fine however xsane doesnt not detect a scanner built in but atleast it will print in Lubuntu 12.10

Hi Christopher Starks,

Please use HP deskjet 3510 settings, this is supported from HPLIP-3.12.9 version on-wards. If you are using old HPLIP version, please install latest version from http://hplipopensource.com/hplip-web/install.html

If still scan is not working, please provide following output.

$ hp-scan -g

Thanks & Regards,
Amarnath

John (johnmaccuish1963) said : #7

http://hplipopensource.com/hplip-web/install.html

I am following this issue closely, (basically having same problem, exact same printer) however I recieve a 404 not found with above link. Would you have an alternate link I could try?.

Hi John,

Please download latest hplip package (hplip-3.13.4.run) using http://sourceforge.net/projects/hplip/files/hplip/3.13.4/hplip-3.13.4.run/download

Run following command in the downloaded directory.

$ sh hplip-3.13.4.run

Thanks & Regards,
Amarnath