Slow OfficeJet v40 w/HPLIP 2.8.2, Ubuntu 8.04

Asked by floid

This is not necessarily a HPLIP question, but I'll start here.

After upgrading to Ubuntu 8.04, I'm noticing that printing has become painfully slow for simple documents, such as basic Arial text from OO.o. Printer is configured properly with default quality settings, using the usb:// interface or such.

IIRC this is probably due to the inability to set print job "priority" in the new CUPS configuration interface. Again IIRC, a setting of "urgent" in the old interface would tweak the niceness of gs and possibly also hplip/hpijs resulting in much faster job processing.

Does anyone who agrees that gs's priority is probably to blame know where I can adjust the default?

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
Aaron Albright (albrigha-deactivatedaccount) said :
#1

Please run hp-check -t and post the output.

Also did you do an upgrade or clean install of Ubuntu?

Thanks.

Aaron

Revision history for this message
floid (jkanowitz) said :
#2

The machine started out with Breezy and was updated through each release, including a couple Hardy betas on through the final.

Here you go; note that a `ldd hpijs` is prepended first so you can see the dependencies satisfied. (Perhaps hp-check is looking for different names? The ones it complains about lack the version-free symlinks.)

Is there a button to run this in the hplip UI? If I didn't overlook it and there isn't, it'd be handy.

Also, I know I've got the multiple fax entries; that's from noodling around, the warning about the ppd now reminds me which one to delete.

8<---

$ ldd /usr/bin/hpijs
        linux-gate.so.1 => (0xb7f8e000)
        libhpip.so.0 => /usr/lib/libhpip.so.0 (0xb7f56000)
        libhpmud.so.0 => /usr/lib/libhpmud.so.0 (0xb7e76000)
        libsane.so.1 => /usr/lib/libsane.so.1 (0xb7e6f000)
        libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0xb7e67000)
        libcups.so.2 => /usr/lib/libcups.so.2 (0xb7e34000)
        libnetsnmp.so.15 => /usr/lib/libnetsnmp.so.15 (0xb7d86000)
        libcrypto.so.0.9.8 => /usr/lib/i686/cmov/libcrypto.so.0.9.8 (0xb7c44000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7c40000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7c1f000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7c07000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7b14000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7aef000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7ae4000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7995000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0xb796b000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb78de000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb78bb000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0xb78b8000)
        libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0xb7842000)
        libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb780f000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb77fa000)
        /lib/ld-linux.so.2 (0xb7f8f000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb77f2000)
        libkeyutils.so.1 => /lib/libkeyutils.so.1 (0xb77ef000)
        libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb77dc000)
        libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0xb77cb000)
        libgcrypt.so.11 => /lib/libgcrypt.so.11 (0xb777e000)
        libgpg-error.so.0 => /lib/libgpg-error.so.0 (0xb777a000)

8<---

HP Linux Imaging and Printing System (ver. 2.8.2)
Dependency/Version Check Utility ver. 13.0

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

Saving output in log file: hp-check.log

Initializing. Please wait...
warning: Invalid drv_dir value: /usr/share/cups/drv/hp/

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

Basic system information:
Linux badger 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linu x

Distribution:
ubuntu 8.04

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.5.2 installed

Checking PyQt version...
OK, version 3.17 installed.

Checking SIP version...
error: SIP not installed or version not found.

Checking for CUPS...
Status: scheduler is running
error: Version: (Not available. CUPS may not be installed or not running.)

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c p arameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r param eter (ie, hp-check -r).

Checking for dependency: cups - Common Unix Printing System...
OK, found.

Checking for dependency: cups-ddk - CUPS driver development kit...
OK, found.

Checking for dependency: cups-devel- Common Unix Printing System development fil es...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make s ure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libcupsys2-dev cupsys-bsd

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter a nd previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this depe ndency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes openssl

Checking for dependency: libjpeg - JPEG library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this depe ndency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libjpeg62-dev

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this depe ndency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libsnmp-dev

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this depe ndency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libusb-dev

Checking for dependency: make - GNU make utility to maintain groups of programs. ..
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt - Qt interface for Python...
OK, found.

Checking for dependency: python-devel - Python development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make s ure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes python2.5-dev

Checking for dependency: Python 2.3 or greater - Required for fax functionality. ..
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make s ure that this dependency is installed before installing or running HPLIP.
To install this dependency, execute this command:
sudo apt-get install --yes --force-yes libsane-dev

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 2.8.2 currently installed in '/usr/share/hplip'.

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

[hpssd]
# Note: hpssd does not support dynamic ports
# Port 2207 is the IANA assigned port for hpssd
port=2207

[hplip]
version=2.8.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# 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
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=2.8.2.10

-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

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

  Device URI Model
  -------------------------------- ----------------
  hp:/usb/OfficeJet_V40?serial=MY2 HP OfficeJet V40
  3KD41PGWN

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

OfficeJet_V40
-------------
Type: Printer
Installed in HPLIP?: Yes, using the hp: CUPS backend.
Device URI: hp:/usb/OfficeJet_V40?serial=MY23KD41PGWN
PPD: /etc/cups/ppd/OfficeJet_V40.ppd
PPD Description: HP OfficeJet V40 Foomatic/hpijs, hpijs 2.8.2
Printer status: printer OfficeJet_V40 is idle. enabled since Sun 27 Apr 2008 05 :08:28 PM EDT
Communication status: Good

OfficeJet_V40_fax
-----------------
Type: Fax
Installed in HPLIP?: Yes, using the hpfax: CUPS backend.
Device URI: hpfax:/usb/OfficeJet_V40?serial=MY23KD41PGWN
PPD: /etc/cups/ppd/OfficeJet_V40_fax.ppd
PPD Description: HP Fax - HPLIP 2.7.7.dfsg.1
Printer status: printer OfficeJet_V40_fax is idle. enabled since Sun 09 Mar 200 8 06:10:17 PM EDT
error: Incorrect PPD file for fax queue 'OfficeJet_V40_fax'. Fax queues must use 'HP-Fax-hplip.ppd'.
Communication status: Good

OfficeJet_V40_fax_2
-------------------
Type: Fax
Installed in HPLIP?: Yes, using the hpfax: CUPS backend.
Device URI: hpfax:/usb/OfficeJet_V40?serial=MY23KD41PGWN
PPD: /etc/cups/ppd/OfficeJet_V40_fax_2.ppd
PPD Description: HP Fax
Printer status: printer OfficeJet_V40_fax_2 is idle. enabled since Sun 27 Apr 2 008 05:06:36 PM EDT
Communication status: Good

PDF
---
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: cups-pdf:/
PPD: /etc/cups/ppd/PDF.ppd
PPD Description: Generic PDF file generator
Printer status: printer PDF is idle. enabled since Fri 16 Nov 2007 12:57:47 AM EST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUP S backend to function in HPLIP.

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
error: Not found. SANE backend 'hpaio' NOT properly setup (needs to be added to /etc/sane.d/dll.conf).

Checking output of 'scanimage -L'...
device `hpaio:/usb/OfficeJet_V40?serial=MY23KD41PGWN' is a Hewlett-Packard Offic eJet_V40 all-in-one

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

HP Device 0xf11 at 002:003:
    Device URI: hp:/usb/OfficeJet_V40?serial=MY23KD41PGWN
    Device node: /dev/bus/usb/002/003
    Mode: 0660
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/002/003
# owner: lp
# group: scanner
user::rw-
user:ed:rw-
group::rw-
mask::rw-
other::---

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

error: 12 errors and/or warnings.

Summary of needed commands to run to satisfy missing dependencies:
sudo apt-get install --yes --force-yes libcupsys2-dev cupsys-bsd
sudo apt-get install --yes --force-yes openssl
sudo apt-get install --yes --force-yes libjpeg62-dev
sudo apt-get install --yes --force-yes libsnmp-dev
sudo apt-get install --yes --force-yes libusb-dev
sudo apt-get install --yes --force-yes python2.5-dev
sudo apt-get install --yes --force-yes libsane-dev

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

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

If possible please try uninstalling hplip with synaptic and then installing the latest HPLIP from source. You can use the automatic installer with ubuntu 8.04.

A

Can you help with this problem?

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

To post a message you must log in.