HP Laserjet 1020 not printing under Ubuntu 9.04
I upgraded from Ubuntu 8.10 to Ubuntu 9.04. My HP Laserjet 1020 printer was working under 8.10 but stopped working under 9.04. The HP Device Manager would not open under 9.04. I installed hplip-3.9.4b. to rectify the problem. After installing hplip-3.9.4b, the HP Device Manager opened. However when I try to print from the printer, it does not print. It remains in the print queue. Even a test page will not print. I tried printing from Open Office but although the document queues up, it does not print. The status tab in HP Device Manager says "Device is busy". On the printer control tab of HP Device Manager, an hourglass icon appears on the printer icon. Just above the Stop Printer button, there is an hourglass icon next to "Started/
hp-check[4790]: info: :
Initializing. Please wait...
Ubuntu
9.04
scheduler is running
1.3.9
Linux martinlfriedman
hp-check[4790]: info: :
hp-check[4790]: info: :---------------
hp-check[4790]: info: :| SYSTEM INFO |
hp-check[4790]: info: :---------------
hp-check[4790]: info: :
hp-check[4790]: info: :Basic system information:
hp-check[4790]: info: :Linux martinlfriedman
hp-check[4790]: info: :
hp-check[4790]: info: :Distribution:
hp-check[4790]: info: :ubuntu 9.04
hp-check[4790]: info: :
HPOJ running?
hp-check[4790]: info: :No, HPOJ is not running (OK).
hp-check[4790]: info: :
hp-check[4790]: info: :Checking Python version...
hp-check[4790]: info: :OK, version 2.6.2 installed
hp-check[4790]: info: :
hp-check[4790]: info: :Checking PyQt 4.x version...
hp-check[4790]: info: :OK, version 4.4.4 installed.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for CUPS...
hp-check[4790]: info: :Status: scheduler is running
hp-check[4790]: info: :Version: 1.3.9
hp-check[4790]: info: :error_log is set to level: info
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dbus/python-dbus...
hp-check[4790]: info: :dbus daemon is running.
hp-check[4790]: info: :python-dbus version: 0.83.0
hp-check[4790]: info: :
hp-check[4790]: info: :
hp-check[4790]: info: :------
hp-check[4790]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[4790]: info: :------
hp-check[4790]: info: :
note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: CUPS - Common Unix Printing System...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: CUPS DDK - CUPS driver development kit...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: CUPS devel- Common Unix Printing System development files...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: CUPS image - CUPS image development files...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: DBus - Message bus system...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: libtool - Library building support services...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: libusb - USB library...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: PolicyKit - Administrative policy framework...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: Python ctypes - A foreign function library for Python...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: Python DBus - Python bindings for DBus...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: Python devel - Python development files...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: Python XML libraries...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: SANE - Scanning library...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :
hp-check[4790]: info: :------
hp-check[4790]: info: :| HPLIP INSTALLATION |
hp-check[4790]: info: :------
hp-check[4790]: info: :
hp-check[4790]: info: :
hp-check[4790]: info: :Currently installed HPLIP version...
hp-check[4790]: info: :HPLIP 3.9.4b currently installed in '/usr/share/hplip'.
hp-check[4790]: info: :
hp-check[4790]: info: :Current contents of '/etc/hp/
hp-check[4790]: info: :# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.9.4b
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-
foomatic-
foomatic-
cups-ppd-install=no
cups-drv-install=no
internal-
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hp-check[4790]: info: :
hp-check[4790]: info: :Current contents of '/var/lib/
hp-check[4790]: info: :[plugin]
eula = 1
installed = 1
hp-check[4790]: info: :
hp-check[4790]: info: :Current contents of '~/.hplip/
hp-check[4790]: info: :[last_used]
printer_name = HP-LaserJet-1020
working_dir = .
device_uri = "hp:/usb/
[commands]
scan = /usr/bin/xsane -V %SANE_URI%
[installation]
version = 3.9.4b.10
date_time = 05/07/09 17:45:07
[settings]
systray_messages = 0
systray_visible = 0
[fax]
email_address =
voice_phone =
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
device_list =
interval = 5
hp-check[4790]: info: :
hp-check[4790]: info: :------
hp-check[4790]: info: :| DISCOVERED PARALLEL DEVICES |
hp-check[4790]: info: :------
hp-check[4790]: info: :
hp-check[4790]: info: :No devices found.
hp-check[4790]: info: :
hp-check[4790]: info: :------
hp-check[4790]: info: :| DISCOVERED USB DEVICES |
hp-check[4790]: info: :------
hp-check[4790]: info: :
hp-check[4790]: info: : Device URI Model
hp-check[4790]: info: : -------
hp-check[4790]: info: : hp:/usb/
JL3D5E2
hp-check[4790]: info: :
hp-check[4790]: info: :------
hp-check[4790]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[4790]: info: :------
hp-check[4790]: info: :
hp-check[4790]: info: :
hp-check[4790]: info: :HP-LaserJet-1020
hp-check[4790]: info: :----------------
hp-check[4790]: info: :Type: Printer
hp-check[4790]: info: :Device URI: hp:/usb/
hp-check[4790]: info: :PPD: /etc/cups/
hp-check[4790]: info: :PPD Description: HP LaserJet 1020 Foomatic/foo2zjs (recommended)
hp-check[4790]: info: :Printer status: printer HP-LaserJet-1020 is idle. enabled since Thu 07 May 2009 05:37:14 PM EDT
hp-check[4790]: info: :Required plug-in status: Installed
error: Device busy: hp:/usb/
error: Device not found
error: Communication status: Failed
hp-check[4790]: info: :
hp-check[4790]: info: :HP_LaserJet_1020
hp-check[4790]: info: :----------------
hp-check[4790]: info: :Type: Printer
hp-check[4790]: info: :Device URI: hp:/usb/
hp-check[4790]: info: :PPD: /etc/cups/
hp-check[4790]: info: :PPD Description: HP LaserJet 1020 hpijs, 3.9.4b
hp-check[4790]: info: :Printer status: printer HP_LaserJet_1020 disabled since Thu 07 May 2009 05:27:15 PM EDT -
Unplugged or turned off
hp-check[4790]: info: :Required plug-in status: Installed
error: Device busy: hp:/usb/
error: Device not found
error: Communication status: Failed
hp-check[4790]: info: :
hp-check[4790]: info: :HP_LaserJet_1020_2
hp-check[4790]: info: :------------------
hp-check[4790]: info: :Type: Printer
hp-check[4790]: info: :Device URI: hp:/usb/
hp-check[4790]: info: :PPD: /etc/cups/
hp-check[4790]: info: :PPD Description: HP LaserJet 1020 hpijs, 3.9.4b
hp-check[4790]: info: :Printer status: printer HP_LaserJet_1020_2 is idle. enabled since Thu 07 May 2009 05:43:41 PM EDT
hp-check[4790]: info: :Required plug-in status: Installed
error: Device busy: hp:/usb/
error: Device not found
error: Communication status: Failed
hp-check[4790]: info: :
hp-check[4790]: info: :
hp-check[4790]: info: :------
hp-check[4790]: info: :| SANE CONFIGURATION |
hp-check[4790]: info: :------
hp-check[4790]: info: :
hp-check[4790]: info: :'hpaio' in '/etc/sane.
hp-check[4790]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking output of 'scanimage -L'...
hp-check[4790]: info: :
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
hp-check[4790]: info: :
hp-check[4790]: info: :------
hp-check[4790]: info: :| PYTHON EXTENSIONS |
hp-check[4790]: info: :------
hp-check[4790]: info: :
hp-check[4790]: info: :Checking 'cupsext' CUPS extension...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking 'pcardext' Photocard extension...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking 'hpmudext' I/O extension...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :Checking 'scanext' SANE scanning extension...
hp-check[4790]: info: :OK, found.
hp-check[4790]: info: :
hp-check[4790]: info: :
hp-check[4790]: info: :
hp-check[4790]: info: :-----------------
hp-check[4790]: info: :| USB I/O SETUP |
hp-check[4790]: info: :-----------------
hp-check[4790]: info: :
hp-check[4790]: info: :Checking for permissions of USB attached printers...
hp-check[4790]: info: :
HP Device 0x2b17 at 001:002:
hp-check[4790]: info: : Device URI: hp:/usb/
hp-check[4790]: info: : Device node: /dev/bus/
hp-check[4790]: info: : Mode: 0660
hp-check[4790]: info: :getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/002
# owner: lp
# group: lp
user::rw-
user:martinlfri
group::rw-
mask::rw-
other::---
hp-check[4790]: info: :
hp-check[4790]: info: :---------------
hp-check[4790]: info: :| USER GROUPS |
hp-check[4790]: info: :---------------
hp-check[4790]: info: :
hp-check[4790]: info: :martinlfriedman adm dialout cdrom plugdev lpadmin admin sambashare
hp-check[4790]: info: :
hp-check[4790]: info: :-----------
hp-check[4790]: info: :| SUMMARY |
hp-check[4790]: info: :-----------
hp-check[4790]: info: :
error: 3 errors and/or warnings.
hp-check[4790]: info: :
hp-check[4790]: info: :Please refer to the installation instructions at:
hp-check[4790]: info: :http://
hp-check[4790]: info: :
hp-check[4790]: info: :Done.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Martin Friedman
- Solved:
- 2009-06-30
- Last query:
- 2009-06-30
- Last reply:
- 2009-06-12
This question was reopened
- 2009-05-18 by Martin Friedman
Did you install HPLIP clean after the upgrade? If not try uninstalling HPLIP and re-installing. Something may have gotten corrupt during the upgrade.
Uninstall HPLIP using this process:
http://
Aaron
I uninstalled HPLIP using the process that you noted. Then I reinstalled it.
I printed a test page successfully and then I opened a document in Open Office Writer and printed the first page of it successfully. I noticed on the Actions tab of HP Device Manager that there were more items than when I first installed HPLIP. For example there was an item to install firmware and an item to download the driver. There were some others as well which I don't recall now.
However, when I turned off my printer and disconnected the USB cable and then plugged the USB cable back in and turned my printer back on, it stopped working. I was unable to print a test page or the page from the document which I opened in Open Office Writer. I noticed that the Actions tab in the HP Device Manager now had only 3 items: Cups View Printer and Device Information, Visit HPLIP Support Website, and Help. The other items were no longer there.
On the Status tab of HP Device Manager, I have
Printer Queue Stopped Code 700
Unknown Error Code 1018
Printer Queue Stopped Code 700
Printer Queue Started Code 701
Started a print job Code 500
Device is busy Code 5021
Unknown Error Code 1018
I also am getting a
Device communication error Code 5012
I turned the printer off and on. I tried to print again and get Device is busy Code 5021 and the message that the printer may not be connected. But it is connected. I have connected and unconnected it several times.
Please advise.
| John Tucker (jonti) said : | #3 |
I have the same issue. Even after getting 9.04 to recognise the parallel port at all (see http://
Not even "cat textfile.txt > /dev/lp0" will do it, it only causes a printer light to flash, as if data is being received.
I'm working with a fresh server installation of 9.04 with ssh, samba and cups; bind9 and dhcp3-server added. It's a small network server on a barebones PC, with an HP Laserjet 1100 driven via the parallel port. I have a similar setup using a pentium iii with the same model printer that works OK. It should have been easy to duplicate the configuration from the old system, but it hasn't worked.
Thanks John Tucker, that solved my question.
John,
This is Martin Friedman. I did not post the last response which says:
"Thanks John Tucker, that solved my question."
I don't know who did.
When I type in the command lsmod | grep para*
this is what I get:
parport_pc 40100 1
parport 42220 3 lp,ppdev,parport_pc
My printer is still not working.
Martin,
The HP Laserjet 1020 does not have a parallel connection (per the spec: http://
Please run:
sudo tail -f /var/log/syslog
Then disconnect and reconnect the printer.
Also run:
/usr/lib/
and post the output.
Thanks!
Aaron
Aaron,
Here is the output.
Martin
martinlfriedman
[sudo] password for martinlfriedman:
May 18 18:24:37 martinlfriedman
May 18 18:24:37 martinlfriedman
May 18 18:24:37 martinlfriedman
May 18 18:24:37 martinlfriedman
May 18 18:24:38 martinlfriedman
May 18 18:24:42 martinlfriedman
May 18 18:24:43 martinlfriedman
May 18 18:24:53 martinlfriedman
May 18 18:24:53 martinlfriedman
May 18 18:30:01 martinlfriedman
May 18 18:40:01 martinlfriedman
May 18 18:42:48 martinlfriedman
May 18 18:42:48 martinlfriedman
May 18 18:42:48 martinlfriedman
May 18 18:42:49 martinlfriedman
May 18 18:42:49 martinlfriedman
May 18 18:42:49 martinlfriedman
May 18 18:42:50 martinlfriedman
May 18 18:42:51 martinlfriedman
May 18 18:42:51 martinlfriedman
May 18 18:42:51 martinlfriedman
May 18 18:42:51 martinlfriedman
May 18 18:42:51 martinlfriedman
May 18 18:42:55 martinlfriedman
May 18 18:42:55 martinlfriedman
May 18 18:42:55 martinlfriedman
May 18 18:43:00 martinlfriedman
May 18 18:43:00 martinlfriedman
May 18 18:43:00 martinlfriedman
May 18 18:43:00 martinlfriedman
/usr/lib/
^Z
[1]+ Stopped sudo tail -f /var/log/syslog
martinlfriedman
direct hp:/usb/
martinlfriedman
Did you run hp-setup to configure the printer?
I can confirm that the Ubuntu 9.04 printer automatic setup is not working. However if you run hp-setup to configure the printer it does work correctly.
Hope this helps.
Aaron
Looking at the syslog your system has two problems.
1. You have two drivers trying to load lj1020 firmware at hotplug time - hplip and foo2zjs.
2. hal_lpadmin and foo2zjs at hotplug time are both trying to talk to the lj1020 at the same time. This will conflict with the auto-discovery and print queue creation at hotplug time.
Solution:
Get rid of the foo2zjs /etc/hotplug/
I don't know how to "get rid of" the foo2zjs /etc/hotplug/
I ran hp-setup but this is what I get:
martinlfriedman
HP Linux Imaging and Printing System (ver. 3.9.4b)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-9 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.
Searching... (bus=usb, search=(None) desc=0)
/error: Channel write error
error: Printer Error. Printer is busy, offline, or in an error state. Please check the device and try again.
Done.
Try running:
mv /etc/hotplug/
This will move the file to your home directory. Then if it works you can rm ~/hplj1020 to delete the file.
Aaron
| Alexey_A (alexeya) said : | #13 |
Hi,
I have the same problem with HP LJ 1020 as Martin. It worked in Kubuntu 8.10 and got broken after some system upgrade. Upgrading to 9.04 had no help.
After turning the printer on, it writes to the syslog:
Jun 4 19:50:24 don-juan kernel: [303816.517354] usb 1-3: new high speed USB device using ehci_hcd and address 10
Jun 4 19:50:24 don-juan kernel: [303816.668936] usb 1-3: configuration #1 chosen from 1 choice
Jun 4 19:50:24 don-juan kernel: [303816.671725] usblp0: USB Bidirectional printer dev 10 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
Jun 4 19:50:24 don-juan logger: loading hp_laserjet_1020 firmware 001 010
Jun 4 19:50:25 don-juan hal_lpadmin: Running hal_lpadmin
Jun 4 19:50:25 don-juan /usr/sbin/hplj1020: foo2zjs: loading HP LaserJet 1020 firmware /usr/share/
Jun 4 19:50:25 don-juan /usr/sbin/hplj1020: foo2zjs: ... download failed.
Jun 4 19:50:25 don-juan /usr/sbin/hplj1020: foo2zjs: loading HP LaserJet 1020 firmware /usr/share/
Jun 4 19:50:26 don-juan hal_lpadmin: hal_lpadmin triggered by low-level USB device
Jun 4 19:50:26 don-juan hal_lpadmin: Polling device ID from the printer ...
Jun 4 19:50:26 don-juan hal_lpadmin: Device 001:010: /org/freedeskto
Jun 4 19:50:26 don-juan hal_lpadmin: Failed to fetch device ID: could not claim interface 0: Device or resource busy
Jun 4 19:50:26 don-juan hal_lpadmin: Ignoring device with UDI /org/freedeskto
Jun 4 19:50:27 don-juan chipcardd[2744]: devicemanager.c: 3373: Changes in hardware list
Jun 4 19:50:30 don-juan python: io/hpmud/musb.c 135: unable get_string_
Jun 4 19:50:30 don-juan python: io/hpmud/musb.c 2084: invalid product id string ret=-110
Jun 4 19:50:30 don-juan kernel: [303822.256142] usb 1-3: usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110
Jun 4 19:50:35 don-juan python: io/hpmud/musb.c 135: unable get_string_
Jun 4 19:50:35 don-juan python: io/hpmud/musb.c 2089: invalid serial id string ret=-110
Jun 4 19:50:35 don-juan python: hp-firmware[18833]: error: Invalid USB Device ID or USB bus ID. No device found.
Jun 4 19:50:35 don-juan kernel: [303827.256074] usb 1-3: usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110
/usr/lib/
direct hp:/usb/
HP Device Manager finds the printer and installs it, but ends up with the error "Printer is busy, offline, or in an error state.". The syslog says:
Jun 4 20:00:55 don-juan /usr/sbin/hplj1020: foo2zjs: ... download failed.
Jun 4 20:00:55 don-juan kernel: [304447.564807] usblp0: nonzero write bulk status received: -108
Jun 4 20:00:55 don-juan kernel: [304447.564929] usblp0: nonzero read bulk status received: -108
Jun 4 20:00:55 don-juan kernel: [304447.565358] usblp0: removed
Jun 4 20:01:25 don-juan python: hp-setup[19149]: error: Channel write error
Jun 4 20:01:25 don-juan python: io/hpmud/musb.c 547: aborting outstanding 7/1/2 write
Jun 4 20:01:25 don-juan python: hp-setup[19149]: error: Printer Error. Printer is busy, offline, or in an error state. Please check the device and try again.
I have no '/etc/hotplug/' directory on my system.
| Alexey_A (alexeya) said : | #14 |
The problem seems fixed by upgrading hplip to 3.9.4b from http://
Thanks!
Aaron and Alexey_A,
I have gotten the printer to work. But it is just a workaround. It is not a permanent fix. I seem to recall having read somewhere on the internet that the printer must be powered on and connected to the computer via the USB cable when the computer is booted. So I did that and then I ran hp-setup after deleting my printer from the printer configuration window. During the setup I checked off the checkbox to print a test page. When the setup was completed, the test page printed. Then I opened a document in Open Office and printed a page. It printed. I also noticed in the HP Device Manager window, on the Actions tab, that there are now 7 icons on it including print, print test page, Cups view printer and device information, download firmware, install required plugin, visit HPLIP support website, and help (see my post of 05/14/09).
Now here is the interesting part. When I turn off my printer and I keep the USB cable plugged in, and then turn the printer back on, it stops working. Here is what I noticed. The document goes into the printer queue but does not print. When I open the HP Device Manager window, on the Actions tab there are now only 3 icons on it: Cups view printer and device information, visit HPLIP support website, and help (see my post of 05/14/09). The status tab shows in the log that there is a Device communication error, Code 5012. Here is the status log from the point where I had successfully printed a page:
Status Date and Time Code
-------- ------------------- -------
Device communication error (most recent) 5012
Printer queue started (4 minutes ago) 701
Started a print job (4 minutes ago) 500
Unknown error (6 minutes ago) 1018
Printer queue stopped (6 minutes ago) 700
Idle (24 minutes ago) 1000
Print job has completed (31 minutes ago) 501
Started a print job (31 minutes ago) 500
I have left out the date and time as the relative time is sufficient.
On the printer control tab it says that the printer is accepting jobs and it is Started/Processing.
I suspect that if I were to go through the steps again, that is, turn off my computer, connect the printer via the USB cable, power it on, power on the computer, delete the printer from the printer configuration window, and then run hp-setup all over again, that it will work.
So, in summary, this is a workaround but not a fix to my problem.
Do you have a permanent fix to this problem?
Thanks,
Martin
Aaron and Alexey_A,
Here is an update since yesterday. Today while my computer was turned off, I plugged in my printer, attached the USB cable, and turned on the power. Then I turned on the power to my computer and booted up and logged in. I opened the HP Device Manager window and noticed that all 7 icons were on the Actions tab. On the Printer Control tab the printer was stopped so I started it. Note that I did not run hp-setup. At this point I typed a letter in Open Office and printed it. The document printed on the printer.
It seems that I do not have to delete the printer from the printer configuration window. I do not have to rerun hp-setup. It works fine without doing this.
So what I have found is that if I attach my printer to my computer and turn the power to the printer on before powering up my computer, then the printer works fine. But if I should turn off my printer while my computer is on and then turn my printer back on, any print jobs from that point on just sit in the print queue and do not print. I'm wondering if this is a bug in the driver or in Ubuntu 9.04. This did not happen under Ubuntu 8.10.
Martin
I can't reproduce this..and this problem hasn't been reported by any one else that I've seen. This to me indicates a possible local problem. Although if it wasn't happening with Ubuntu 8.10 it seems that maybe your hardware should be okay, unless there is some new problem that started happening. Did you do a clean install of Ubuntu 9.04? Sometimes the upgrades don't install cleanly.
Glad you got it working either way.
Thanks for your support of HPLIP--we appreciate it.
Aaron
I did not re-install Ubuntu 9.04. I don't want to do that. I can live with this workaround.
Thanks for your help.
Martin
I would like to confirm the problem with HP Laserjet 1020.
First time i'm confronted with a problem to add a printer to ubuntu (9.4)
I am realy surprised that HP printer not works as "plug & play" under Ubuntu :))
very much hope that this will be resolved in future :))
have a nice day!
martins
| jhucul (jhucul) said : | #20 |
Hi friends!
My HP1018 is under a layer of dust. A long time ago I quit.
But today I found this on another post, right here. And suddenly it prints!
sudo chown yourusername /dev/bus/usb/
That's it.
I Hope it will be useful for all of you too!
| Zoubidoo (zoubidoo) said : | #21 |
I would like to confirm that removing the hotplug rule makes the 1020 work again under Ubuntu 10.04 Lucid
sudo mv /etc/hotplug/
Should this be reported as a bug about to either to hplip or foo2zjs? It cost my parent > 6 months of printer downtime and me 3 days of troubleshooting. Thanks to this bug report the problem appears to be solved.
It took some time to find the problem because I was trying to solve usbfs: USBDEVFS_CONTROL failed cmd python rqt 128 rq 6 len 255 ret -110
Also, there is no need to use a new hplip, the Lucid version works ok.
I installed Ubuntu 10.04 on my other computer as a dual boot with Windows XP. Today for the first time I hooked up my HP Laserjet 1020 printer to it while I was booted up under Ubuntu 10.04.
Ubuntu automatically looked for the proper driver for the printer and allowed me to install it.
I was able to print a document from Open Office as well as from gedit.
Then I turned off the printer and powered it back on.
I was then able to print from gedit again.
It looks like this bug has been fixed with Ubuntu 10.04.

