HP 3520 printer network problem

Asked by julian on 2012-09-25

Hi,
    I'm trying to get my HP 3520 deskjet all in one wireless printer connected to my network so I can print wirelessly but I get a "communication error code 12". I download and installed the"HPLIP-Version: HPLIP 3.12.9" from the web site which should be the correct version for my printer and Ubuntu 12.04.
I'm using Ubuntu 12.04 and I will paste the hp-check results below. Any help would be greatly appreciated.
Julian

winston@winston-laptop:~$ hp-check

HP Linux Imaging and Printing System (ver. 3.12.9)
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/winston/hp-check.log

Initializing. Please wait...

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

 Kernel: 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:17:36 UTC 2012 GNU/Linux
 Host: winston-laptop
 Proc: 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:17:36 UTC 2012 GNU/Linux
 Distribution: ubuntu 12.04

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

HPLIP-Version: HPLIP 3.12.9
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro 12.04 version

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

[hplip]
version=3.12.9

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.12.9
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.9
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:
Plugins are not installed. Could not access file: No such file or directory

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

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/usb/Deskjet_3520_series?serial=CN25L1G0M405SY"
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 =

[installation]
date_time = 25/09/12 11:32:30
version = 3.12.9

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

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

 gs Ghostscript REQUIRED 7.05 9.05 OK -
 network Network-wget OPTIONAL - 1.13.4 OK -
 dbus DBus REQUIRED - 1.4.18 OK -
 scanimage Shell-Scanning OPTIONAL 1.0 1.0.22 OK -
 policykit Admin-Policy-framework OPTIONAL - 0.104 OK -
 xsane SANE-GUI OPTIONAL 0.9 0.998 OK -
 cups CUPS REQUIRED 1.1 1.5.3 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.1 OK -
 libjpeg JPEG-Lib REQUIRED - - OK -
 libpthread POSIX-Threads-Lib REQUIRED - 2.15 OK -
 python-dbus Python-DBUS REQUIRED 0.80.0 1.0.0 OK -
 python-devel Python-SDK REQUIRED 2.2 2.7.3 OK -
 pyqt4 Python-Qt4 REQUIRED 4.0 4.9.1 OK -
 cups-devel CUPS-SDK REQUIRED - 1.5.3 OK -
 sane-devel SANE-SDK REQUIRED - 1.0.22 OK -
 libusb USB-Lib REQUIRED - 1.0 OK -
 sane Scan-Lib REQUIRED - 1.0.22 OK -
 cups-image CUPS-Image-Lib REQUIRED - 1.5.3 OK -
 libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.4.3 OK -
 python-xml Python-XML-Lib REQUIRED - 2.0.1 OK -
 python-notify Desktop-notifications OPTIONAL - - OK -

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

 gcc gcc-Compiler REQUIRED - 4.6.3 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.9 OK -
 pcardext PhotoCard-Extension REQUIRED - 3.12.9 OK -
 hpmudext IO-Extension REQUIRED - 3.12.9 OK -

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

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

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

No Scanner found.

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

No devices found.

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

Deskjet_3520
------------
Type: Printer
Device URI: hp:/usb/Deskjet_3520_series?serial=CN25L1G0M405SY
PPD: /etc/cups/ppd/Deskjet_3520.ppd
PPD Description: HP Deskjet 3520 Series, hpcups 3.12.9
Printer status: printer Deskjet_3520 disabled since Tue 25 Sep 2012 11:11:03 EST - Unplugged or turned off
error: Unable to communicate with device (code=12): hp:/usb/Deskjet_3520_series?serial=CN25L1G0M405SY
error: Device not found
error: Communication status: Failed

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

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

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

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

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

Total Errors: 1
Total Warnings: 0

Done.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu hplip Edit question
Assignee:
No assignee Edit question
Last query:
2012-09-25
Last reply:
2012-09-25
Warren Hill (warren-hill) said : #1

How do you have your printer connceted?

I am assuming that you have a router and that both your Computer and Printer connect to it. Is this correct and if so is your printer connected Wirelessley or via a LAN cable.

If you are going this way I recommend that you configure the printer to have a fixed IP address. In which case what is it?

Or do you have the printer connected locally via USB?

julian (minazj) said : #2

Hi,
    Thank you for responding. Yes, I'm connecting wirelessly to the printer
via a router, the IP is 192.168.20.101. I have pinged the printer and I'll
paste the results below:
I don't really know what that means but the trouble shooting procedure
suggests to do it so I hope that helps.
Thanks
Julian
PS I tried using the printer with the firewall switched off but I had the
same result.

winston@winston-laptop:~$ hp-makeuri 192.168.20.101

HP Linux Imaging and Printing System (ver. 3.12.9)
Device URI Creation Utility ver. 5.0

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.

CUPS URI: hp:/net/Deskjet_3520_series?ip=192.168.20.101
SANE URI: hpaio:/net/Deskjet_3520_series?ip=192.168.20.101

On 25 September 2012 19:50, Warren Hill <
<email address hidden>> wrote:

> Your question #209501 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/209501
>
> Status: Open => Needs information
>
> Warren Hill requested more information:
> How do you have your printer connceted?
>
> I am assuming that you have a router and that both your Computer and
> Printer connect to it. Is this correct and if so is your printer
> connected Wirelessley or via a LAN cable.
>
> If you are going this way I recommend that you configure the printer to
> have a fixed IP address. In which case what is it?
>
> Or do you have the printer connected locally via USB?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/209501
>
> You received this question notification because you asked the question.
>

Warren Hill (warren-hill) said : #3

It does not look like your computer can see the printer. To test this open a terminal (CTRL+ALT+T) enter the following command

ifconfig; ping -c5 192.168.20.101

This should tell us if the printer and computer can see each other

julian (minazj) said : #4

Thanks, I've done as requested and the results are below,
Cheers Julian

winston@winston-laptop:~$ ifconfig; ping -c5 192.168.20.101
eth0 Link encap:Ethernet HWaddr 1c:c1:de:a7:f4:8e
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
          Interrupt:46 Base address:0xc000

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:1228 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1228 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:113536 (113.5 KB) TX bytes:113536 (113.5 KB)

wlan0 Link encap:Ethernet HWaddr 1c:65:9d:36:40:e1
          inet addr:192.168.20.100 Bcast:192.168.20.255 Mask:255.255.255.0
          inet6 addr: fe80::1e65:9dff:fe36:40e1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:11614 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9766 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9952190 (9.9 MB) TX bytes:1612077 (1.6 MB)

PING 192.168.20.101 (192.168.20.101) 56(84) bytes of data.
64 bytes from 192.168.20.101: icmp_req=1 ttl=255 time=97.1 ms
64 bytes from 192.168.20.101: icmp_req=2 ttl=255 time=7.43 ms
64 bytes from 192.168.20.101: icmp_req=3 ttl=255 time=5.76 ms
64 bytes from 192.168.20.101: icmp_req=4 ttl=255 time=5.90 ms
64 bytes from 192.168.20.101: icmp_req=5 ttl=255 time=5.88 ms

--- 192.168.20.101 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 5.766/24.425/97.145/36.365 ms
winston@winston-laptop:~$

Warren Hill (warren-hill) said : #5

OK. I was wrong have you configured CUPS? This is done in a webpage instructions are here

http://hplipopensource.com/hplip-web/install/step4/cups/net.html

julian (minazj) said : #6

Hi,
     Sorry for the delay, I've tried as suggested but I've gotten stuck with the user ID and password, the web site just rejects it?? I'm not sure what I'm supposed to input, I just use my Ubuntu ID and password?
However when I open the web site ": http://localhost:631" it already sees my printer.
I don't know what I'm supposed to do.
Regards
Julian

Can you help with this problem?

Provide an answer of your own, or ask julian for more information if necessary.

To post a message you must log in.