hpcups no such file or directory

Asked by Barry Martin

I have a HP Laserjet 1000 printer and Ubuntu 13.10. Yesterday I upgraded HPLIPS to version 3.13.11. Printer has now stopped working and I have message "Stopped - File /usr/lib/cups/filter/hpcups not available. No such file or directory."

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of :

ls - la /usr/lib/cups/filter/hpcups

Thanks

Revision history for this message
Barry Martin (barry-martin) said :
#2

output is as follows:
-rwxr-xr-x 1 root root 1117047 Nov 7 12:30 /usr/lib/cups/filter/hpcups

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Have you tried removing the printer you have then rebooting then readding it again?

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#4

Please send us the full Terminal output of this command:

sudo apt-get update; sudo apt-get install hplip; lsmod | grep usb ; lsusb ; ls -l /dev/usb/lp* /dev/bus/usb/*/* ; hp-info -i; lpinfo -v; sudo usb_printerid /dev/usb/lp0; hp-doctor

Please copy-paste the command into the Terminal instead of typing each letter manually....

Revision history for this message
Barry Martin (barry-martin) said :
#5

I have been busy last 3 days so haven't had time to respond to suggestions. Anyway, here is terminal output:

ls: cannot access /dev/usb/lp*: No such file or directory
crw-rw-r-- 1 root root 189, 0 Nov 12 08:33 /dev/bus/usb/001/001
crw-rw-r-- 1 root root 189, 1 Nov 12 08:33 /dev/bus/usb/001/002
crw-rw-r-- 1 root root 189, 128 Nov 12 08:33 /dev/bus/usb/002/001
crw-rw-r--+ 1 root lp 189, 129 Nov 12 08:34 /dev/bus/usb/002/002

HP Linux Imaging and Printing System (ver. 3.13.11)
Device Information Utility ver. 5.2

Copyright (c) 2001-13 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.

Using device: hp:/usb/hp_LaserJet_1000?serial=0

hp:/usb/hp_LaserJet_1000?serial=0

Device Parameters (dynamic data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  back-end hp
  cups-printers ['hp_LaserJet_1000', 'hp_LaserJet_1000_2',
                                'hp_LaserJet_1000_3']
  cups-uri hp:/usb/hp_LaserJet_1000?serial=0
  dev-file
  device-state 1
  device-uri hp:/usb/hp_LaserJet_1000?serial=0
  deviceid MFG:Hewlett-Packard;MDL:hp LaserJet
                                1000;CMD:ZJS;CLS:PRINTER;DES:hp LaserJet

                                1000;FWVER:20011207;
  duplexer 0
  error-state 0
  host
  in-tray1 1
  in-tray2 1
  is-hp True
  media-path 1
  panel 0
  panel-line1
  panel-line2
  photo-tray 0
  port 1
  r 0
  revision 254
  rg 000
  rr 000000
  rs 000000000
  serial 0
  status-code 1000
  status-desc Idle
  supply-door 1
  top-door 1

Model Parameters (static data):
  Parameter Value(s)
  ---------------------------- ----------------------------------------------------------
  align-type 0
  clean-type 0
  color-cal-type 0
  copy-type 0
  embedded-server-type 0
  fax-type 0
  fw-download True
  icon default_laserjet.png
  io-mfp-mode 1
  io-mode 1
  io-support 2
  job-storage 0
  linefeed-cal-type 0
  model hp_LaserJet_1000
  model-ui HP LaserJet 1000
  model1 HP LaserJet 1000 Printer
  monitor-type 0
  panel-check-type 0
  pcard-type 0
  plugin 1
  plugin-reason 1
  power-settings 0
  pq-diag-type 0
  r-type 0
  scan-src 0
  scan-type 0
  status-battery-check 0
  status-dynamic-counters 0
  status-type 8
  support-released True
  support-subtype 13910
  support-type 2
  support-ver 2.7.12
  tech-class ['LJZjsMono']
  tech-subclass ['Normal']
  tech-type 3
  usb-pid 1303
  usb-vid 1008
  wifi-config 0

Status History (most recent first):
  Date/Time Code Status Description User Job ID
  -------------------- ----- ---------------------------------------- -------- --------
  11/12/13 09:16:38 1000 Idle barry 0

Done.
network socket
network lpd
network https
network ipp
serial serial:/dev/ttyS0?baud=115200
network http
network ipps
network beh
network ipp14
direct hp:/usb/hp_LaserJet_1000?serial=0
direct usb://HP/LaserJet%201000
direct parallel:/dev/lp0
network smb
direct hpfax
Error: No such file or directory: can't open '/dev/usb/lp0'

HP Linux Imaging and Printing System (ver. 3.13.11)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-13 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.

Checking for Deprecated items....
No Deprecated items are found

Checking for HPLIP updates....
Latest version of HPLIP is already installed.

Checking for Dependencies....

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

 Kernel: 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 17:26:33 UTC 2013 GNU/Linux
 Host: barry-desktop
 Proc: 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 17:26:33 UTC 2013 GNU/Linux
 Distribution: ubuntu 13.10
 Bitness: 32 bit

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

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

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

[hplip]
version=3.13.11

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

# 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.13.11
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=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.13.11

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 12/11/13 09:16:45
version = 3.13.11

[upgrade]
notify_upgrade = true
last_upgraded_time = 1383780639
pending_upgrade_time = 0
latest_available_version = 3.13.11

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = hp:/usb/hp_LaserJet_1000?serial=0
printer_name = hp_LaserJet_1000
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 |
--------------------------

 policykit Admin-Policy-framework OPTIONAL - 0.105 OK -
 gs Ghostscript REQUIRED 7.05 9.10 OK -
 network Network-wget OPTIONAL - 1.14 OK -
 scanimage Shell-Scanning OPTIONAL 1.0 1.0.23 OK -
 avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
 dbus DBus REQUIRED - 1.6.12 OK -
 cups CUPS REQUIRED 1.1 1.7 OK 'CUPS Scheduler is running'
 xsane SANE-GUI OPTIONAL 0.9 0.998 OK -

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

 reportlab Python-PDF-Lib OPTIONAL 2.0 2.6 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.10.3 OK -
 libjpeg JPEG-Lib REQUIRED - - OK -
 libpthread POSIX-Threads-Lib REQUIRED - 2.17 OK -
 python-dbus Python-DBUS REQUIRED 0.80.0 1.2.0 OK -
 python-devel Python-SDK REQUIRED 2.2 2.7.5 OK -
 pyqt4 Python-Qt4 REQUIRED 4.0 4.10.3 OK -
 cups-devel CUPS-SDK REQUIRED - 1.7 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.7 OK -
 libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.7.2 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.8.1 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.13.11 OK -
 pcardext PhotoCard-Extension REQUIRED - 3.13.11 OK -
 hpmudext IO-Extension REQUIRED - 3.13.11 OK -

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

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

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

No Scanner found.

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

  Device URI Model
  -------------------------------- ----------------
  hp:/usb/hp_LaserJet_1000?serial= HP LaserJet 1000
  0

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

hp_LaserJet_1000
----------------
Type: Printer
Device URI: hp:/usb/hp_LaserJet_1000?serial=0
PPD: /etc/cups/ppd/hp_LaserJet_1000.ppd
PPD Description: HP LaserJet 1000, hpcups 3.13.3, requires proprietary plugin
Printer status: printer hp_LaserJet_1000 disabled since Fri 25 Oct 2013 14:57:38 NZDT - File "/usr/lib/cups/filter/hpcups" not available: No such file or directory
Required plug-in status: Installed
Communication status: Good

hp_LaserJet_1000_2
------------------
Type: Printer
Device URI: hp:/usb/hp_LaserJet_1000?serial=0
PPD: /etc/cups/ppd/hp_LaserJet_1000_2.ppd
PPD Description: HP LaserJet 1000, hpcups 3.13.9, requires proprietary plugin
Printer status: printer hp_LaserJet_1000_2 disabled since Fri 25 Oct 2013 11:49:21 NZDT File "/usr/lib/cups/filter/hpcups" not available: No such file or directory
Required plug-in status: Installed
Communication status: Good

hp_LaserJet_1000_3
------------------
Type: Printer
Device URI: hp:/usb/hp_LaserJet_1000?serial=0
PPD: /etc/cups/ppd/hp_LaserJet_1000_3.ppd
PPD Description: HP LaserJet 1000, hpcups 3.13.9, requires proprietary plugin
Printer status: printer hp_LaserJet_1000_3 disabled since Fri 25 Oct 2013 14:58:49 NZDT File "/usr/lib/cups/filter/hpcups" not available: No such file or directory
Required plug-in status: Installed
Communication status: Good

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

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

Checking for Configured Queues....

warning: 3 queues of same device hp_LaserJet_1000 is configured.
Remove unwanted queues.

Checking for HP Properitery Plugin's....
Plugin's already installed

Diagnose completed...

Sorry was unable to catch first part of it.

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#6

Your Terminal output shows the following issue:

"
warning: 3 queues of same device hp_LaserJet_1000 is configured.
Remove unwanted queues.
"

First run these Terminal commands:

sudo apt-get update

sudo apt-get install --reinstall hpijs

sudo apt-get install --reinstall hpijs-ppds

sudo apt-get install --reinstall printer-driver-hpijs

sudo apt-get install --reinstall printer-driver-hpcups

Then please delete all 3 CUPS printer queues and then add just one printer queue.

Then retest printing.

The other Terminal output seems to be ok.

Revision history for this message
Barry Martin (barry-martin) said :
#7

I ran first three comands and this is what I get:

barry@barry-desktop:~$ sudo apt-get install --reinstall hpijs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package hpijs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  printer-driver-hpijs

E: Package 'hpijs' has no installation candidate

barry@barry-desktop:~$ sudo apt-get --reinstall hpijs-ppds
E: Invalid operation hpijs-ppds

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#8

You can skip this command:

sudo apt-get install --reinstall hpijs

However, you did not copy-paste the next command.

I wrote:

sudo apt-get install --reinstall hpijs-ppds

You wrote:

 sudo apt-get --reinstall hpijs-ppds

Not the same thing.

Please copy-paste the commands in order to avoid manual typo's like the one above.

Revision history for this message
Barry Martin (barry-martin) said :
#9

Great, thank you Mark and actionparsnip for your interest and help. I had difficulty with pasting command into a terminal. but I have now successfully done a test print.

Revision history for this message
chau ffeur (ffeur) said :
#10

i followed some instructions above and i ended up with a big HP program installed with icons and dialogues and windows stuff all from HP
and all i needed was to use my HP inkjet printer to print a page
but a message in my 16.04 LTS printer dialogue window said:

"/usr/lib/cups/filter/hpcups" not available: No such file or directory

now i ended up with this old HP program and printer still show the above message...
how i can delete this whole HP thing?
i am not even good using like a pro the terminal :-(
and is there another idea or tip how i can fix the cups file so i can use a simple HP printer?
thank you kindly