hpijs: unable to open PrintContext object err=16

Asked by David Carter

Error in CUPS log:
D [12/Aug/2008:18:18:32 -02-30] [Job 3] renderer PID kid4=8717
D [12/Aug/2008:18:18:32 -02-30] [Job 3] renderer command: gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet" -dDuplex=false -r300 -sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=0,PS:MediaPosition=7 -dIjsUseOutputFD -sOutputFile=- -
D [12/Aug/2008:18:18:33 -02-30] [Job 3] unable to open PrintContext object err=16
D [12/Aug/2008:18:18:33 -02-30] [Job 3] GPL Ghostscript 8.61: Can't start ijs server "hpijs"

Output from hp-check:
hp-check[8922]: info: :
Initializing. Please wait...
Ubuntu^M

8.04^M

scheduler is running^M

1.3.7^M

Linux stjohns 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux^M

hp-check[8922]: info: :
hp-check[8922]: info: :---------------
hp-check[8922]: info: :| SYSTEM INFO |
hp-check[8922]: info: :---------------
hp-check[8922]: info: :
hp-check[8922]: info: :Basic system information:
hp-check[8922]: info: :Linux stjohns 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux^M
hp-check[8922]: info: :
hp-check[8922]: info: :Distribution:
hp-check[8922]: info: :ubuntu 8.04
hp-check[8922]: info: :
HPOJ running?
hp-check[8922]: info: :No, HPOJ is not running (OK).
hp-check[8922]: info: :
hp-check[8922]: info: :Checking Python version...
hp-check[8922]: info: :OK, version 2.5.2 installed
hp-check[8922]: info: :
hp-check[8922]: info: :Checking PyQt version...
hp-check[8922]: info: :OK, version 3.17 installed.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking SIP version...
error: SIP not installed or version not found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for CUPS...
hp-check[8922]: info: :Status: scheduler is running
hp-check[8922]: info: :Version: 1.3.7
hp-check[8922]: info: :error_log is set to level: debug
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dbus/python-dbus...
hp-check[8922]: info: :dbus daemon is running.
hp-check[8922]: info: :python-dbus version: 0.82.4
hp-check[8922]: info: :
hp-check[8922]: info: :
hp-check[8922]: info: :------------------------------------
hp-check[8922]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[8922]: info: :------------------------------------
hp-check[8922]: 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[8922]: info: :
hp-check[8922]: info: :Checking for dependency: cups - Common Unix Printing System...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: cups-ddk - CUPS driver development kit...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: cups-devel- Common Unix Printing System development files...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: dbus - Message bus system...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: libtool - Library building support services...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: libusb - USB library...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: PyQt - Qt interface for Python...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: python-ctypes - A foreign function library for Python...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: python-dbus - Python bindings for dbus...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: python-devel - Python development files...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: SANE - Scanning library...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :
hp-check[8922]: info: :----------------------
hp-check[8922]: info: :| HPLIP INSTALLATION |
hp-check[8922]: info: :----------------------
hp-check[8922]: info: :
hp-check[8922]: info: :
hp-check[8922]: info: :Currently installed HPLIP version...
hp-check[8922]: info: :HPLIP 2.8.7 currently installed in '/usr/share/hplip'.
hp-check[8922]: info: :
hp-check[8922]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[8922]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=2.8.7

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-2.8.7
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
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=no
dbus-build=no
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=yes
internal-tag=2.8.7.4
restricted-build=no

hp-check[8922]: info: :
hp-check[8922]: info: :--------------------------
hp-check[8922]: info: :| DISCOVERED USB DEVICES |
hp-check[8922]: info: :--------------------------
hp-check[8922]: info: :
hp-check[8922]: info: : Device URI Model
hp-check[8922]: info: : ---------------------------------------- -------------------------------
hp-check[8922]: info: : hp:/usb/HP_LaserJet_P1505?serial=CA5944J HP LaserJet P1505
hp-check[8922]: info: :
hp-check[8922]: info: :---------------------------------
hp-check[8922]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[8922]: info: :---------------------------------
hp-check[8922]: info: :
hp-check[8922]: info: :
hp-check[8922]: info: :EPSON_Stylus_Photo_1400_1
hp-check[8922]: info: :-------------------------
hp-check[8922]: info: :Type: Unknown
hp-check[8922]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[8922]: info: :Device URI: ipp://192.168.1.100:631/printers/EPSON_Stylus_Photo_1400_1
hp-check[8922]: info: :HP_LaserJet_P1505
hp-check[8922]: info: :-----------------
hp-check[8922]: info: :Type: Unknown
hp-check[8922]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[8922]: info: :Device URI: ipp://192.168.1.100:631/printers/HP_LaserJet_P1505
hp-check[8922]: info: :LaserJet
hp-check[8922]: info: :--------
hp-check[8922]: info: :Type: Printer
hp-check[8922]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[8922]: info: :Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA5944J
hp-check[8922]: info: :PPD: /etc/cups/ppd/LaserJet.ppd
hp-check[8922]: info: :PPD Description: HP LaserJet p1505n Foomatic/hpijs, hpijs 2.8.7
hp-check[8922]: info: :Printer status: printer LaserJet is idle. enabled since Tue 12 Aug 2008 06:18:54 PM NDT^M /usr/lib/cups/filter/foomatic-rip-hplip failed^M
error: Unable to connect to dbus session bus.
error: Required plug-in status: Not installed
hp-check[8922]: info: :Communication status: Good
hp-check[8922]: info: :
hp-check[8922]: info: :
hp-check[8922]: info: :----------------------
hp-check[8922]: info: :| SANE CONFIGURATION |
hp-check[8922]: info: :----------------------
hp-check[8922]: info: :
hp-check[8922]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[8922]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking output of 'scanimage -L'...
hp-check[8922]: info: :^M
No scanners were identified. If you were expecting something different,^M
check that the scanner is plugged in, turned on and detected by the^M
sane-find-scanner tool (if appropriate). Please read the documentation^M
which came with this software (README, FAQ, manpages).^M

hp-check[8922]: info: :
hp-check[8922]: info: :---------------------
hp-check[8922]: info: :| PYTHON EXTENSIONS |
hp-check[8922]: info: :---------------------
hp-check[8922]: info: :
hp-check[8922]: info: :Checking 'cupsext' CUPS extension...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking 'pcardext' Photocard extension...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking 'hpmudext' I/O extension...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :Checking 'scanext' SANE scanning extension...
hp-check[8922]: info: :OK, found.
hp-check[8922]: info: :
hp-check[8922]: info: :
hp-check[8922]: info: :-----------------
hp-check[8922]: info: :| USB I/O SETUP |
hp-check[8922]: info: :-----------------
hp-check[8922]: info: :
hp-check[8922]: info: :
hp-check[8922]: info: :Checking for permissions of USB attached printers...
hp-check[8922]: info: :
HP Device 0x3f17 at 004:003:
hp-check[8922]: info: : Device URI: hp:/usb/HP_LaserJet_P1505?serial=CA5944J
hp-check[8922]: info: : Device node: /dev/bus/usb/004/003
hp-check[8922]: info: : Mode: 0666
hp-check[8922]: info: :
hp-check[8922]: info: :-----------
hp-check[8922]: info: :| SUMMARY |
hp-check[8922]: info: :-----------
hp-check[8922]: info: :
error: 2 errors and/or warnings.
hp-check[8922]: info: :
hp-check[8922]: info: :Please refer to the installation instructions at:
hp-check[8922]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[8922]: info: :
hp-check[8922]: info: :Done.

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
David Carter (dcarter) said :
#1

Output from hp-firmware:

HP Linux Imaging and Printing System (ver. 2.8.7)
Firmware Download Utility ver. 1.1

Copyright (c) 2001-8 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_P1505?serial=CA5944J
error: Unable to connect to dbus session bus.
error: Firmware file '/usr/share/hplip/data/firmware/hp_laserjet_p1505.fw.gz' not found.
error: Firmware download failed.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#2

David,

Try deleting the printer queue and running hp-setup to configure the printer again. It looks like the plugin is not installed for the printer. You could try running hp-plugin as well.

The error: unable to open PrintContext object err=16 might be a problem with ghostscript. You could try re-installing gs..

Hope this helps.

A

Revision history for this message
David Carter (dcarter) said :
#3

OK, a couple of important points.

When reinstalling, I got the error message:

------------------------
| PLUG-IN INSTALLATION |
------------------------

sh: hp_plugin: not found

So, as suggested, I ran hp-plugin manually.

Then in /var/log/cups/error_log, there's this suspicious message:

E [16/Aug/2008:19:50:04 -02-30] Unable to execute /usr/lib/cups/filter/foomatic-rip: No such file or directory
E [16/Aug/2008:19:50:04 -02-30] [Job 4] Unable to start filter "foomatic-rip" - No such file or directory.

Looking for foomatic-rip, there's indeed no such filter. There is however foomatic-rip-hplip.

Suggestions?

Revision history for this message
David Carter (dcarter) said :
#4

OK, so adding a symbolic link from foomatic-rip to foomatic-rip-hplip prints the test page but it hangs at the end. The error message is:

D [16/Aug/2008:20:06:57 -02-30] [Job 4] prnt/backend/hp.c 594: ERROR: 40017 other; will retry in 30 seconds...

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
David Carter (dcarter) said :
#6

Still waiting for a response...

Revision history for this message
David Suffield (david-suffield) said :
#7

"ERROR: 40017" means the P1505 firmware could not read the "E-LABEL" on the toner cartridge. Either the sensor on the cartridge is bad or this is not a HP cartridge.

The next version of HPLIP will ignor this error.

-dave

Revision history for this message
Amorphous (amorphous) said :
#8

I have a similar problem and am very confused.

it seems that hp-systray wont start because of lackinf dbus support, but python-dbus is installed I'll paste

hp-toolbox hangs when starting up with hp-check -t:

hp-check[8998]: info: :
Initializing. Please wait...
Ubuntu

8.04

scheduler is running

1.3.7

Linux fino-1 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008 x86_64 GNU/Linux

hp-check[8998]: info: :
hp-check[8998]: info: :---------------
hp-check[8998]: info: :| SYSTEM INFO |
hp-check[8998]: info: :---------------
hp-check[8998]: info: :
hp-check[8998]: info: :Basic system information:
hp-check[8998]: info: :Linux fino-1 2.6.24-19-generic #1 SMP Wed Aug 20 17:53:40 UTC 2008 x86_64 GNU/Linux

hp-check[8998]: info: :
hp-check[8998]: info: :Distribution:
hp-check[8998]: info: :ubuntu 8.04
hp-check[8998]: info: :
HPOJ running?
hp-check[8998]: info: :No, HPOJ is not running (OK).
hp-check[8998]: info: :
hp-check[8998]: info: :Checking Python version...
hp-check[8998]: info: :OK, version 2.5.2 installed
hp-check[8998]: info: :
hp-check[8998]: info: :Checking PyQt version...
hp-check[8998]: info: :OK, version 3.17 installed.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking SIP version...
error: SIP not installed or version not found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for CUPS...
hp-check[8998]: info: :Status: scheduler is running
hp-check[8998]: info: :Version: 1.3.7
hp-check[8998]: info: :error_log is set to level: warn
note: For troubleshooting printing issues, it is best to have the CUPS 'LogLevel'
note: set to 'debug'. To set the LogLevel to debug, edit the file /etc/cups/cupsd.conf (as root),
note: and change the line near the top of the file that begins with 'LogLevel' to read:
note: LogLevel debug
note: Save the file and then restart CUPS (see your OS/distro docs on how to restart CUPS).
note: Now, when you print, helpful debug information will be saved to the file:
note: /var/log/cups/error_log
note: You can monitor this file by running this command in a console/shell:
note: tail -f /var/log/cups/error_log
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dbus/python-dbus...
hp-check[8998]: info: :dbus daemon is running.
hp-check[8998]: info: :python-dbus version: 0.82.4
hp-check[8998]: info: :
hp-check[8998]: info: :
hp-check[8998]: info: :------------------------------------
hp-check[8998]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[8998]: info: :------------------------------------
hp-check[8998]: 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[8998]: info: :
hp-check[8998]: info: :Checking for dependency: cups - Common Unix Printing System...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: cups-ddk - CUPS driver development kit...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: cups-devel- Common Unix Printing System development files...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: dbus - Message bus system...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: libtool - Library building support services...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: libusb - USB library...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: PyQt - Qt interface for Python...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: python-ctypes - A foreign function library for Python...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: python-dbus - Python bindings for dbus...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: python-devel - Python development files...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: Reportlab - PDF library for Python...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: SANE - Scanning library...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[8998]: info: :To install this dependency, execute this command:
hp-check[8998]: info: :sudo apt-get install --yes --force-yes xsane
hp-check[8998]: info: :
hp-check[8998]: info: :
hp-check[8998]: info: :----------------------
hp-check[8998]: info: :| HPLIP INSTALLATION |
hp-check[8998]: info: :----------------------
hp-check[8998]: info: :
hp-check[8998]: info: :
hp-check[8998]: info: :Currently installed HPLIP version...
hp-check[8998]: info: :HPLIP 2.8.7 currently installed in '/usr/share/hplip'.
hp-check[8998]: info: :
hp-check[8998]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[8998]: info: :[dirs]
run = /var/run
cupsbackend = /usr/lib/cups/backend
ppd = /usr/share/ppd/hpijs/HP
doc = /usr/share/doc/hplip-2.8.7
drv = /usr/share/cups/drv/hp/
ppdbase = /usr/share/ppd/hpijs
home = /usr/share/hplip
icon = /usr/share/applications
cupsfilter = /usr/lib/cups/filter

[hplip]
version = 2.8.7
plugin = 1

[configure]
foomatic-rip-hplip-install = yes
doc-build = yes
cups11-build = no
gui-build = yes
internal-tag = 2.8.7.3
foomatic-ppd-install = no
network-build = yes
pp-build = no
fax-build = no
scanner-build = yes
restricted-build = no
dbus-build = no
shadow-build = no
foomatic-drv-install = yes

hp-check[8998]: info: :
hp-check[8998]: info: :--------------------------
hp-check[8998]: info: :| DISCOVERED USB DEVICES |
hp-check[8998]: info: :--------------------------
hp-check[8998]: info: :
hp-check[8998]: info: :No devices found.
hp-check[8998]: info: :
hp-check[8998]: info: :---------------------------------
hp-check[8998]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[8998]: info: :---------------------------------
hp-check[8998]: info: :
hp-check[8998]: info: :
hp-check[8998]: info: :HP_LaserJet_P1005
hp-check[8998]: info: :-----------------
hp-check[8998]: info: :Type: Printer
hp-check[8998]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[8998]: info: :Device URI: hp:/usb/HP_LaserJet_P1005?serial=BC0GCGP
hp-check[8998]: info: :PPD: /etc/cups/ppd/HP_LaserJet_P1005.ppd
hp-check[8998]: info: :PPD Description: HP LaserJet P1005 Foomatic/hpijs-ZJS (recommended)
hp-check[8998]: info: :Printer status: printer HP_LaserJet_P1005 is idle. enabled since Tue 30 Sep 2008 13:07:26 BST

error: Unable to connect to dbus session bus.
error: Required plug-in status: Not installed
hp-check[8998]: info: :Communication status: Good
hp-check[8998]: info: :
hp-check[8998]: info: :PDF
hp-check[8998]: info: :---
hp-check[8998]: info: :Type: Unknown
hp-check[8998]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[8998]: info: :Device URI: cups-pdf:/
hp-check[8998]: info: :PPD: /etc/cups/ppd/PDF.ppd
hp-check[8998]: info: :PPD Description: Generic PDF file generator
hp-check[8998]: info: :Printer status: printer PDF is idle. enabled since Tue 30 Sep 2008 10:34:40 BST

warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
hp-check[8998]: info: :
hp-check[8998]: info: :----------------------
hp-check[8998]: info: :| SANE CONFIGURATION |
hp-check[8998]: info: :----------------------
hp-check[8998]: info: :
hp-check[8998]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[8998]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking output of 'scanimage -L'...
hp-check[8998]: 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[8998]: info: :
hp-check[8998]: info: :---------------------
hp-check[8998]: info: :| PYTHON EXTENSIONS |
hp-check[8998]: info: :---------------------
hp-check[8998]: info: :
hp-check[8998]: info: :Checking 'cupsext' CUPS extension...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking 'pcardext' Photocard extension...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking 'hpmudext' I/O extension...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :Checking 'scanext' SANE scanning extension...
hp-check[8998]: info: :OK, found.
hp-check[8998]: info: :
hp-check[8998]: info: :
hp-check[8998]: info: :-----------------
hp-check[8998]: info: :| USB I/O SETUP |
hp-check[8998]: info: :-----------------
hp-check[8998]: info: :
hp-check[8998]: info: :
hp-check[8998]: info: :Checking for permissions of USB attached printers...
hp-check[8998]: info: :
HP Device 0x3d17 at 004:006:
hp-check[8998]: info: : Device URI: hp:/usb/HP_LaserJet_P1005?serial=BC0GCGP
hp-check[8998]: info: : Device node: /dev/bus/usb/004/006
hp-check[8998]: info: : Mode: 0666
hp-check[8998]: info: :getfacl: Removing leading '/' from absolute path names

# file: dev/bus/usb/004/006

# owner: root

# group: lp

user::rw-

user:manager:rw-

group::rw-

mask::rw-

other::rw-

hp-check[8998]: info: :
hp-check[8998]: info: :-----------
hp-check[8998]: info: :| SUMMARY |
hp-check[8998]: info: :-----------
hp-check[8998]: info: :
error: 4 errors and/or warnings.
hp-check[8998]: info: :
hp-check[8998]: info: :Summary of needed commands to run to satisfy missing dependencies:
hp-check[8998]: info: :sudo apt-get install --yes --force-yes xsane
hp-check[8998]: info: :
hp-check[8998]: info: :Please refer to the installation instructions at:
hp-check[8998]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[8998]: info: :
hp-check[8998]: info: :Done.

***********************************************************

Revision history for this message
David Carter (dcarter) said :
#9

Some additional comments on this issue:

The printer was brand new out of the box, so there's no issue with third party toner cartridges as was suggested. It also works fine when printing from a Mac, so a faulty sensor is unlikely.

Revision history for this message
Raghothama Cauligi (raghothama-cauligi) said :
#10

This printer requires a plugin to operate. Please run hp-setup to correctly install. Error 16 means that hpijs
was unable to initialize the printer
The -sDeviceModel="HP LaserJet" is incorrect, it should be -sDeviceModel="HPLaserJet P1505"
This happened because the ppd installed is the wrong one. hp-setup will lead you through correct installation
Raghu

Can you help with this problem?

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

To post a message you must log in.