hplip-2.8.12 no errors but no print output
Using tinycorelinux with the 2.6.26 kernel:
hplip-2.8.12 compiles and installs without errors:
./configure --prefix=/usr/local --sysconfdir=/etc --localstatedir
When I try to print a test page from the cups-1.3.8 browser interface there are no errors (even with log=dubug), but no output from my OfficeJetK80. Note that the same machine will work with hplip-2.8.2 and with the hpoj "ptal" driver.
$ sudo /usr/local/
direct hp:/usb/
$ sudo hp-probe -g [will not work without the "sudo"]
hp-probe[16387]: debug: hp:/usb/
hp-probe[16387]: debug: Cache miss: officejet_k80
hp-probe[16387]: debug: Reading file: /usr/local/
hp-probe[16387]: debug: Searching for section [officejet_k80] in file /usr/local/
hp-probe[16387]: debug: Found section [officejet_k80] in file /usr/local/
Device URI Model
-----
hp:/usb/
Found 1 printer(s) on the 'usb' bus.
$ hp-testpage -pTest ["Test" is the name of the cups printer]
warning: python-dbus not installed. [dbus-python-0.83.0 is installed, is hplip expecting something else?]
$ hp-testpage -dhp:/usb/
no such device??
Note that this is using the hplip-2.8.12 ppd "Hp Officejet k80 Foomatic/hpijs, hpijs 2.8.12.26 (en)"
Any pointers would be appreciated.
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
![]() |
#1 |
Everything looks okay.
Run hp-check -t and post the output.
Also look at the syslog for any errors: sudo tail -f /var/log/syslog
Lets put cups into debug mode and check the cups log as well.
For putting CUPS into debug mode review this document:
http://
Thanks.
Aaron
Revision history for this message
![]() |
#2 |
Thanks - to answer your questions:
Run hp-check -t and post the output. - OK, posted at the bottom.
Also look at the syslog for any errors: sudo tail -f /var/log/syslog - no errors concerning hplip/cups
Lets put cups into debug mode and check the cups log as well: as mentioned above, it was already in debug mode - I did find this error:
E [03/Feb/
Note also:
$ sudo hp-setup -b usb
warning: python-dbus not installed.
HP Linux Imaging and Printing System (ver. 2.8.12)
Printer/Fax Setup Utility ver. 8.0
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.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
Setting up device: hp:/usb/
-------
| PRINT QUEUE SETUP |
-------
Please enter a name for this print queue (m=use model name:'OfficeJet
Using queue name: OfficeJet_K80
warning: Found multiple possible PPD files
Choose a PPD file that most closely matches your device:
(Note: The model number may vary slightly from the actual model number on the device.)
Num. PPD Filename Description
---- -------
Traceback (most recent call last):
File "/usr/local/
mins_list = mins.keys()
AttributeError: 'tuple' object has no attribute 'keys'
$ ls /usr/local/
hp-officejet_
-------
Note: - I corrected the uri to be "hp:..." after this, but forgot to save the log output - anyway, it still did not print.
hp-check[6062]: info: :
Initializing. Please wait...
scheduler is running
1.3.8
Linux box 2.6.26-tinycore #1 SMP Wed Jul 23 11:20:28 UTC 2008 i686 unknown
warning: Invalid ppd_dir value: None
hp-check[6062]: info: :
hp-check[6062]: info: :---------------
hp-check[6062]: info: :| SYSTEM INFO |
hp-check[6062]: info: :---------------
hp-check[6062]: info: :
hp-check[6062]: info: :Basic system information:
hp-check[6062]: info: :Linux box 2.6.26-tinycore #1 SMP Wed Jul 23 11:20:28 UTC 2008 i686 unknown
hp-check[6062]: info: :
hp-check[6062]: info: :Distribution:
hp-check[6062]: info: :unknown 0.0
hp-check[6062]: info: :
HPOJ running?
hp-check[6062]: info: :No, HPOJ is not running (OK).
hp-check[6062]: info: :
hp-check[6062]: info: :Checking Python version...
hp-check[6062]: info: :OK, version 2.5.2 installed
hp-check[6062]: info: :
hp-check[6062]: info: :Checking PyQt 3.x version...
error: NOT FOUND OR FAILED TO LOAD!
hp-check[6062]: info: :
hp-check[6062]: info: :Checking PyQt 4.x version...
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for CUPS...
hp-check[6062]: info: :Status: scheduler is running
hp-check[6062]: info: :Version: 1.3.8
hp-check[6062]: info: :error_log is set to level: debug
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dbus/python-dbus...
hp-check[6062]: info: :dbus daemon is running.
warning: python-dbus not installed.
hp-check[6062]: info: :
hp-check[6062]: info: :
hp-check[6062]: info: :------
hp-check[6062]: info: :| RUNTIME DEPENDENCIES |
hp-check[6062]: info: :------
hp-check[6062]: info: :
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dependency: cups - Common Unix Printing System...
hp-check[6062]: info: :OK, found.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dependency: cups-ddk - CUPS driver development kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[6062]: info: :OK, found.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dependency: ppdev - Parallel port support kernel module....
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dependency: PyQt 3- Qt interface for Python (for Qt version 3.x)...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dependency: python-ctypes - A foreign function library for Python...
hp-check[6062]: info: :OK, found.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dependency: python-dbus - Python bindings for dbus...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dependency: Python XML libraries...
hp-check[6062]: info: :OK, found.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[6062]: info: :OK, found.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dependency: Reportlab - PDF library for Python...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dependency: SANE - Scanning library...
hp-check[6062]: info: :OK, found.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[6062]: info: :OK, found.
hp-check[6062]: info: :
hp-check[6062]: 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[6062]: info: :
hp-check[6062]: info: :
hp-check[6062]: info: :------
hp-check[6062]: info: :| HPLIP INSTALLATION |
hp-check[6062]: info: :------
hp-check[6062]: info: :
hp-check[6062]: info: :
hp-check[6062]: info: :Currently installed HPLIP version...
hp-check[6062]: info: :HPLIP 2.8.12 currently installed in '/usr/local/
hp-check[6062]: info: :
hp-check[6062]: info: :Current contents of '/etc/hp/
hp-check[6062]: info: :[dirs]
run = /var/run
cupsbackend = /usr/local/
ppd = /usr/local/
doc = /usr/local/
drv = /usr/local/
ppdbase = /usr/local/
home = /usr/local/
icon = /usr/share/
cupsfilter = /usr/local/
[hplip]
version = 2.8.12
[installation]
version = 2.8.12.26
date_time = 01/29/09 15:26:21
[configure]
foomatic-
qt4 = no
doc-build = no
qt3 = no
cups11-build = no
gui-build = no
internal-tag = 2.8.12.26
foomatic-
network-build = yes
ui-toolkit = no
pp-build = yes
fax-build = yes
scanner-build = yes
restricted-build = no
dbus-build = yes
shadow-build = no
foomatic-
hp-check[6062]: info: :
hp-check[6062]: info: :Current contents of '~/.hplip/
hp-check[6062]: info: :[installation]
version = 2.8.12.26
date_time = 01/29/09 14:55:43
hp-check[6062]: info: :
hp-check[6062]: info: :------
hp-check[6062]: info: :| DISCOVERED PARALLEL DEVICES |
hp-check[6062]: info: :------
hp-check[6062]: info: :
hp-check[6062]: info: :No devices found.
error: 'ppdev' kernel module not loaded.
hp-check[6062]: info: :
hp-check[6062]: info: :------
hp-check[6062]: info: :| DISCOVERED USB DEVICES |
hp-check[6062]: info: :------
hp-check[6062]: info: :
hp-check[6062]: info: : Device URI Model
hp-check[6062]: info: : -------
hp-check[6062]: info: : hp:/usb/
hp-check[6062]: info: :
hp-check[6062]: info: :------
hp-check[6062]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[6062]: info: :------
hp-check[6062]: info: :
hp-check[6062]: info: :
hp-check[6062]: info: :Test
hp-check[6062]: info: :----
hp-check[6062]: info: :Type: Unknown
hp-check[6062]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[6062]: info: :Device URI: usb://HP/
hp-check[6062]: info: :PPD: /etc/cups/
hp-check[6062]: info: :PPD Description: HP OfficeJet K80 Foomatic/hpijs (recommended)
hp-check[6062]: info: :Printer status: printer Test now printing Test-0. enabled since Thu Jan 29 15:20:09 2009
Printer is now on-line.
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
hp-check[6062]: info: :
hp-check[6062]: info: :------
hp-check[6062]: info: :| SANE CONFIGURATION |
hp-check[6062]: info: :------
hp-check[6062]: info: :
hp-check[6062]: info: :'hpaio' in '/etc/sane.
hp-check[6062]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking output of 'scanimage -L'...
hp-check[6062]: info: :device `hpaio:
hp-check[6062]: info: :
hp-check[6062]: info: :------
hp-check[6062]: info: :| PYTHON EXTENSIONS |
hp-check[6062]: info: :------
hp-check[6062]: info: :
hp-check[6062]: info: :Checking 'cupsext' CUPS extension...
hp-check[6062]: info: :OK, found.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking 'pcardext' Photocard extension...
hp-check[6062]: info: :OK, found.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking 'hpmudext' I/O extension...
hp-check[6062]: info: :OK, found.
hp-check[6062]: info: :
hp-check[6062]: info: :Checking 'scanext' SANE scanning extension...
hp-check[6062]: info: :OK, found.
hp-check[6062]: info: :
hp-check[6062]: info: :
hp-check[6062]: info: :-----------------
hp-check[6062]: info: :| USB I/O SETUP |
hp-check[6062]: info: :-----------------
hp-check[6062]: info: :
hp-check[6062]: info: :
hp-check[6062]: info: :-----------
hp-check[6062]: info: :| SUMMARY |
hp-check[6062]: info: :-----------
hp-check[6062]: info: :
error: 10 errors and/or warnings.
hp-check[6062]: info: :
hp-check[6062]: info: :Please refer to the installation instructions at:
hp-check[6062]: info: :http://
hp-check[6062]: info: :
hp-check[6062]: info: :Done.
Revision history for this message
![]() |
#3 |
Lets look at the cups log and syslog and see if there is any more information
tail -f /var/log/syslog
tail -f /var/log/
Then try printing and post all of the output in both.
It's important to note that although HPLIP should work on Tiny Core Linux, we haven't actually tested it.
Thanks.
Aaron
Revision history for this message
![]() |
#4 |
Thanks for the feedback:
tail -f /var/log/syslog: I don't have a syslog, but dmesg posted below.
It's important to note that although HPLIP should work on Tiny Core Linux, we haven't actually tested it: Agreed, but cups-1.3.8 and hpoj/hpijs work on tiny core linux using a uri of the form "ptal:"
Can I attach /var/cups/error_log somehow - it is ~ 300KB...
John
-----------
start cups
$ tail -f /var/log/
I [05/Feb/
I [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
add printer in cups browser interface
$ dmesg | tail -f
agpgart: Detected 892K stolen memory.
agpgart: AGP aperture is 128M @ 0xf0000000
[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:02.0 to 64
[drm] Initialized i915 1.6.0 20060119 on minor 0
PCI: Setting latency timer of device 0000:00:02.1 to 64
[drm] Initialized i915 1.6.0 20060119 on minor 1
ISO 9660 Extensions: RRIP_1991A
lp0: using parport0 (interrupt-driven).
$ tail -f /var/log/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
print test page from cups browser interface
log very long, errors listed below:
E [05/Feb/
E [05/Feb/
E [05/Feb/
print seems to start, but nothing comes out...
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
I [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
D [05/Feb/
Revision history for this message
![]() |
#5 |
Any update? Is there a way to attach the cups error log to this thread?
Thanks, John
Revision history for this message
![]() |
#6 |
Setting the usb permissions correctly for my system seems to have fixed a number of issues - the various hp-* commands now work without needing to be root (except hp-setup which fails because there is more than one suitable ppd??) and cups finds my printer uri (hp:/...) on its own and proposes the correct ppd.
..but I still cannot print even a test page (and the same setup without hplip but with hpijs/hpos will print) - the key message in the cups error_log seems to be this:
[17/Feb/
If you could give any pointers on what this might mean I would be grateful
Revision history for this message
![]() |
#7 |
This question was expired because it remained in the 'Open' state without activity for the last 15 days.
Revision history for this message
![]() |
#8 |
After changing the udev rules for usb devices I can now print, but I am still getting error messages about dbus-python being missing when it is present and I am still working on getting faxing and scanning to work.
Revision history for this message
![]() |
#9 |
John,
What did you change in the udev rules?
Thanks.
Aaron
Revision history for this message
![]() |
#10 |
I added the following to /etc/udev/
# usb devices
SUBSYSTEM=="usb", GROUP="staff"
SUBSYSTEM=="usb", MODE="0664"
There are only two users on tinycore linux, tc:staff and root and the only groups are staff and root.
I guess hplip expects the usb group to be owned by "usb" or "root"?
Note that this also solved the problem of several of the hp-* applets needing to be run as root.
Revision history for this message
![]() |
#11 |
John,
Thanks for the update.
Aaron
Can you help with this problem?
Provide an answer of your own, or ask John Frankish for more information if necessary.