Print Job always remains "On Hold"

Asked by David Barnett

Hi,

I am running Linuxmint
(Linux dave-mint 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:07 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux)

And have a HP LaserJet m1536dnf MFP printer installed on the network (via ethernet cable)

I have HPLIP 3.14.6 installed with device manager 15.0(Qt4) on my local machine.

I open a PDF document and choose print (I can see the printer) I choose print and all seems ok.

When I open the HPLIP program I can see the job has arrived in the queue but its Status always remains "on hold" and never prints.

Other users on the network are able to print (windows or mac users)

I used to be able to print a few months ago, (I hardly ever do) but now have the on hold problem.

I have run the SelfDiagnose Utility and all is OK - I get "Diagnose completed" and no errors or warnings.

Any ideas?

Thanks very much for any help.

regards

David

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Srikanth
Solved:
Last query:
Last reply:
Revision history for this message
David Barnett (david-barnett) said :
#1

Here is the output of the Terminal Diagnostics:

HP Linux Imaging and Printing System (ver. 3.14.6)
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.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:07 UTC 2013 GNU/Linux
 Host: dave-mint
 Proc: 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:07 UTC 2013 GNU/Linux
 Distribution: linuxmint 15
 Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.14.6
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for linuxmint distro 15 version

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

[hplip]
version=3.14.6

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.14.6
html=/usr/share/doc/hplip-3.14.6
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.14.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
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.14.6

Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1378977338
pending_upgrade_time = 1382856123
latest_available_version = 3.14.6

[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/net/HP_LaserJet_M1536dnf_MFP?ip=192.168.0.135"
printer_name = Hewlett-Packard-HP-LaserJet-M1536dnf-MFP
working_dir = .

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[refresh]
rate = 30
enable = true
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[installation]
date_time = 30/06/14 12:02:23
version = 3.14.6

 <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.07 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.8 OK -
 cups CUPS REQUIRED 1.1 1.6.2 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 OK -
 libjpeg JPEG-Lib REQUIRED - - OK -
 libpthread POSIX-Threads-Lib REQUIRED - 2.17 OK -
 python-dbus Python-DBUS REQUIRED 0.80.0 1.1.1 OK -
 python-devel Python-SDK REQUIRED 2.2 2.7.4 OK -
 pyqt4 Python-Qt4 REQUIRED 4.0 4.10 OK -
 cups-devel CUPS-SDK REQUIRED - 1.6.2 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.6.2 OK -
 libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.4.3 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.7.3 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.14.6 OK -
 pcardext PhotoCard-Extension REQUIRED - 3.14.6 OK -
 hpmudext IO-Extension REQUIRED - 3.14.6 OK -

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

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

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

device `hpaio:/net/HP_LaserJet_M1536dnf_MFP?ip=192.168.0.135' is a Hewlett-Packard HP_LaserJet_M1536dnf_MFP all-in-one

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

No devices found.

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

HP_LaserJet_M1536dnf_MFP
------------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_M1536dnf_MFP?ip=192.168.0.135
PPD: /etc/cups/ppd/HP_LaserJet_M1536dnf_MFP.ppd
PPD Description: HP LaserJet M1536dnf MFP Postscript (recommended)
Printer Filter faileder HP_LaserJet_M1536dnf_MFP is idle. enabled since Mon 30 Jun 2014 12:01:03 CEST
Required plug-in status: Installed
Communication status: Good

HP_LaserJet_M1536dnf_MFP_fax
----------------------------
Type: Fax
Device URI: hpfax:/net/HP_LaserJet_M1536dnf_MFP?ip=192.168.0.135
PPD: /etc/cups/ppd/HP_LaserJet_M1536dnf_MFP_fax.ppd
PPD Description: HP Fax2 hpcups
Printer status: printer HP_LaserJet_M1536dnf_MFP_fax is idle. enabled since Mon 30 Jun 2014 11:37:07 CEST
Required plug-in status: Installed
Communication status: Good

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

Checking for Configured Queues....

Queue(s) configured correctly using HPLIP.

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

Diagnose completed...

More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html

Please close this terminal manually.

Revision history for this message
Best Srikanth (srikanth-lokare) said :
#2

Hi David,

Can you please try the following steps.

1. Remove the existing print queues using 'hp-setup -r' from the terminal.
2. Re-configure the queue using 'hp-setup' again from the terminal.
3. Now perform a print job.

Please let us know if the problem still persists.

Thanks and Regards,
Srikanth Lokare

Revision history for this message
David Barnett (david-barnett) said :
#3

Thanks very much for the feedback.

That seems to have fixed the problem.

Revision history for this message
David Barnett (david-barnett) said :
#4

Thanks Srikanth, that solved my question.

Revision history for this message
David Ecklein (7ave) said :
#5

I have a similar problem - unfortunately the fix suggested by Srikanth did not help.

I have Linux Mint 17 and an HP P1005. Hardware is newly assembled and Linux
has worked well, except for printing at present.

It worked yesterday, but right now it does not print. Nothing has changed
except the date! I have reinstalled hplip and done other obvious things,
like powering down, checking cables, etc. When Mint boots up, the printer
does some cycling, indicating some degree of recognition. When printing is
attempted, no error messages or other indications of abnormality is displayed.
But the P1005 is as silent as a gravestone. The "print queue" does show the
jobs I intended to print, but says "held" at the right. Why should they be "held"?

Nothing wrong with the printer - prints perfectly from an old XP machine.
Until this is solved, I will have to move print files to the XP machine to
have them printed. Literally, a drag.

Note: I have been a big Linux fan, but frankly, I am getting frustrated with Linux as
a general replacement for Windows, and would not recommend it to the average
computer user. It is only for those who wish to play with their machine, are willing
to put up with bad behavior, and consult "forums" about it where no one has
exactly the same problem - instead of straightforward documentation leading to a solution.

Revision history for this message
goutam (goutamkk) said :
#6

Can you provide us the output of 'lsusb -d 03f0:4117 -v' here

Revision history for this message
David Ecklein (7ave) said :
#7

qoutam: It doesn't do anything. Just returns to the terminal prompt.
What was it supposed to tell me? It is not at all obvious...

Revision history for this message
goutam (goutamkk) said :
#8

It is suppose to give the device usb details . Can you provide the output of just 'lsusb' command

Revision history for this message
David Ecklein (7ave) said :
#9

goutam - is that all it does? Well, here is the result from simply lsusb:

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 058f:6364 Alcor Micro Corp. AU6477 Card Reader Controller
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 03f0:3d17 Hewlett-Packard LaserJet P1005
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 006 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

As I wrote before, the printer worked OK until it suddenly stopped. Mint definitely sees the printer, it cycles on bootup, etc. but print jobs remain on "pending" or "hold". I'll try your earlier command now, but on a hunch will substitute 3d17 for 4117:

david@david-desktop ~ $ lsusb -d 03f0:3d17 -v

Bus 001 Device 002: ID 03f0:3d17 Hewlett-Packard LaserJet P1005
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x03f0 Hewlett-Packard
  idProduct 0x3d17 LaserJet P1005
  bcdDevice 1.00
  iManufacturer 1 Hewlett-Packard
  iProduct 2 HP LaserJet P1005
  iSerial 3 BA07092
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 32
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xc0
      Self Powered
    MaxPower 98mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 2
      bInterfaceClass 7 Printer
      bInterfaceSubClass 1 Printer
      bInterfaceProtocol 2 Bidirectional
      iInterface 4 HP Print
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x01 EP 1 OUT
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
      Endpoint Descriptor:
        bLength 7
        bDescriptorType 5
        bEndpointAddress 0x81 EP 1 IN
        bmAttributes 2
          Transfer Type Bulk
          Synch Type None
          Usage Type Data
        wMaxPacketSize 0x0200 1x 512 bytes
        bInterval 0
Device Qualifier (for other device speed):
  bLength 10
  bDescriptorType 6
  bcdUSB 2.00
  bDeviceClass 0 (Defined at Interface level)
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  bNumConfigurations 1
Device Status: 0x0001
  Self Powered

guotam (or anyone) A lot of robot vomit here. Does it tell you anything about why the printer doesn't work in Mint right now?

Revision history for this message
goutam (goutamkk) said :
#10

please run command 'hp-setup -r' to remove the existing print queue for this printer and reconfigure the printer using 'hp-setup' command.

Try to send a print job. If the job is still held in the queue then run command 'sudo hp-logcapture' to capture the log files. Follow the instructions as the logcapture tool indicates. At the end it will generate a tar file. Please attach the tar file to this link https://answers.launchpad.net/hplip/+question/250974/+makebug

Revision history for this message
Oliver R. (oliverr) said :
#11

This affected me too on Linux Mint 13, but I was able to solve it be upgrading hplip.

Output of 'uname -a':
Linux x300 3.13.0-63-generic #104~precise1-Ubuntu SMP Tue Aug 18 17:03:00 UTC 2015 i686 i686 i386 GNU/Linux

Yesterday I was able to print as normal, today I upgraded my kernel and a few other packages (see log below), and then all print jobs to my HP LaserJet 1022 and my HP OfficeJet 5610 were put on hold. The fax print queue worked as expected, though.

I downgraded to kernel 3.13.0-57, but this didn't help.

Removing and reinstalling the printers did not help either.

I could print from my wife's computer which is comparable to the state of my computer yesterday, so everything else was okay.

Finally I upgraded from hplip version 3.14.6 to 3.15.7 using the build script from sourceforge:
https://sourceforge.net/projects/hplip/
Now the old and new print queues work again.

From /var/log/apt/history.log:

Start-Date: 2015-09-06 09:11:09
Commandline: apt-get dist-upgrade
Install: linux-headers-3.13.0-63:i386 (3.13.0-63.104~precise1, automatic), linux-image-3.13.0-63-generic:i386 (3.13.0-63.104~precise1, automatic), linux-tools-3.2.0-90:i386 (3.2.0-90.128, automatic), linux-headers-3.13.0-63-generic:i386 (3.13.0-63.104~precise1, automatic)
Upgrade: libgs9-common:i386 (9.05~dfsg-0ubuntu4.2, 9.05~dfsg-0ubuntu4.3), linux-tools:i386 (3.2.0.87.101, 3.2.0.90.104), bind9-host:i386 (9.8.1.dfsg.P1-4ubuntu0.11, 9.8.1.dfsg.P1-4ubuntu0.13), libsnmp15:i386 (5.4.3~dfsg-2.4ubuntu1.2, 5.4.3~dfsg-2.4ubuntu1.3), libapt-pkg4.12:i386 (0.8.16~exp12ubuntu10.24, 0.8.16~exp12ubuntu10.25), gir1.2-gdkpixbuf-2.0:i386 (2.26.1-1ubuntu1.1, 2.26.1-1ubuntu1.2), dnsutils:i386 (9.8.1.dfsg.P1-4ubuntu0.11, 9.8.1.dfsg.P1-4ubuntu0.13), thunderbird:i386 (31.7.0+build1-0ubuntu0.12.04.1, 38.2.0+build1-0ubuntu0.12.04.2), linux-tools-common:i386 (3.2.0-87.125, 3.2.0-90.128), thunderbird-gnome-support:i386 (31.7.0+build1-0ubuntu0.12.04.1, 38.2.0+build1-0ubuntu0.12.04.2), apt-transport-https:i386 (0.8.16~exp12ubuntu10.24, 0.8.16~exp12ubuntu10.25), libdns81:i386 (9.8.1.dfsg.P1-4ubuntu0.11, 9.8.1.dfsg.P1-4ubuntu0.13), libpcre3:i386 (8.12-4, 8.12-4ubuntu0.1), libslp1:i386 (1.2.1-7.8ubuntu1, 1.2.1-7.8ubuntu1.1), ghostscript-x:i386 (9.05~dfsg-0ubuntu4.2, 9.05~dfsg-0ubuntu4.3), libsqlite3-0:i386 (3.7.9-2ubuntu1.1, 3.7.9-2ubuntu1.2), icedtea-6-jre-cacao:i386 (6b35-1.13.7-1ubuntu0.12.04.2, 6b36-1.13.8-0ubuntu1~12.04), libgdk-pixbuf2.0-common:i386 (2.26.1-1ubuntu1.1, 2.26.1-1ubuntu1.2), linux-libc-dev:i386 (3.2.0-87.125, 3.2.0-90.128), printer-driver-hpijs:i386 (3.12.2-1ubuntu3.4, 3.12.2-1ubuntu3.5), libexpat1:i386 (2.0.1-7.2ubuntu1.1, 2.0.1-7.2ubuntu1.2), libisccc80:i386 (9.8.1.dfsg.P1-4ubuntu0.11, 9.8.1.dfsg.P1-4ubuntu0.13), apt-utils:i386 (0.8.16~exp12ubuntu10.24, 0.8.16~exp12ubuntu10.25), openssh-client:i386 (5.9p1-5ubuntu1.4, 5.9p1-5ubuntu1.7), libtidy-0.99-0:i386 (20091223cvs-1ubuntu2, 20091223cvs-1ubuntu2.1), apt:i386 (0.8.16~exp12ubuntu10.24, 0.8.16~exp12ubuntu10.25), firefox:i386 (39.0+build5-0ubuntu0.12.04.2, 40.0.3+build1-0ubuntu0.12.04.1), libhpmud0:i386 (3.12.2-1ubuntu3.4, 3.12.2-1ubuntu3.5), tlp-rdw:i386 (0.7-2~precise, 0.8-1~precise), liblwres80:i386 (9.8.1.dfsg.P1-4ubuntu0.11, 9.8.1.dfsg.P1-4ubuntu0.13), openjdk-6-jre-headless:i386 (6b35-1.13.7-1ubuntu0.12.04.2, 6b36-1.13.8-0ubuntu1~12.04), tzdata-java:i386 (2015d-0ubuntu0.12.04, 2015f-0ubuntu0.12.04), openjdk-6-jre:i386 (6b35-1.13.7-1ubuntu0.12.04.2, 6b36-1.13.8-0ubuntu1~12.04), icedtea-6-jre-jamvm:i386 (6b35-1.13.7-1ubuntu0.12.04.2, 6b36-1.13.8-0ubuntu1~12.04), openjdk-6-jre-lib:i386 (6b35-1.13.7-1ubuntu0.12.04.2, 6b36-1.13.8-0ubuntu1~12.04), libbind9-80:i386 (9.8.1.dfsg.P1-4ubuntu0.11, 9.8.1.dfsg.P1-4ubuntu0.13), libsnmp-perl:i386 (5.4.3~dfsg-2.4ubuntu1.2, 5.4.3~dfsg-2.4ubuntu1.3), printer-driver-hpcups:i386 (3.12.2-1ubuntu3.4, 3.12.2-1ubuntu3.5), linux-image-generic-lts-trusty:i386 (3.13.0.57.49, 3.13.0.63.55), tlp:i386 (0.7-2~precise, 0.8-1~precise), libgs9:i386 (9.05~dfsg-0ubuntu4.2, 9.05~dfsg-0ubuntu4.3), libsnmp-dev:i386 (5.4.3~dfsg-2.4ubuntu1.2, 5.4.3~dfsg-2.4ubuntu1.3), linux-headers-generic-lts-trusty:i386 (3.13.0.57.49, 3.13.0.63.55), libisccfg82:i386 (9.8.1.dfsg.P1-4ubuntu0.11, 9.8.1.dfsg.P1-4ubuntu0.13), libgdk-pixbuf2.0-0:i386 (2.26.1-1ubuntu1.1, 2.26.1-1ubuntu1.2), libexpat1-dev:i386 (2.0.1-7.2ubuntu1.1, 2.0.1-7.2ubuntu1.2), thunderbird-locale-de:i386 (31.7.0+build1-0ubuntu0.12.04.1, 38.2.0+build1-0ubuntu0.12.04.2), tzdata:i386 (2015d-0ubuntu0.12.04, 2015f-0ubuntu0.12.04), firefox-locale-de:i386 (39.0+build5-0ubuntu0.12.04.2, 40.0.3+build1-0ubuntu0.12.04.1), libvdpau1:i386 (0.4.1-3ubuntu1.1, 0.4.1-3ubuntu1.2), firefox-locale-en:i386 (39.0+build5-0ubuntu0.12.04.2, 40.0.3+build1-0ubuntu0.12.04.1), ghostscript:i386 (9.05~dfsg-0ubuntu4.2, 9.05~dfsg-0ubuntu4.3), libsane-hpaio:i386 (3.12.2-1ubuntu3.4, 3.12.2-1ubuntu3.5), libsnmp-base:i386 (5.4.3~dfsg-2.4ubuntu1.2, 5.4.3~dfsg-2.4ubuntu1.3), libapt-inst1.4:i386 (0.8.16~exp12ubuntu10.24, 0.8.16~exp12ubuntu10.25), libisc83:i386 (9.8.1.dfsg.P1-4ubuntu0.11, 9.8.1.dfsg.P1-4ubuntu0.13), linux-generic-lts-trusty:i386 (3.13.0.57.49, 3.13.0.63.55), mint-flashplugin-11:i386 (11.2.202.491, 11.2.202.508), openssh-server:i386 (5.9p1-5ubuntu1.4, 5.9p1-5ubuntu1.7), ssh-askpass-gnome:i386 (5.9p1-5ubuntu1.4, 5.9p1-5ubuntu1.7), ghostscript-cups:i386 (9.05~dfsg-0ubuntu4.2, 9.05~dfsg-0ubuntu4.3)
End-Date: 2015-09-06 09:15:25