3-second pause between jobs

Asked by A. Person

I'm using HPLIP 3.14.10 and I added a new printer to CUPS which is an HP LaserJet 400 M401dne. Two relevant drivers appear in CUPS:

- HP LaserJet 400 M401dne USB PHGFC47100 HPLIP (HP LaserJet 400 M401dne)

- HP LaserJet 400 M401dne (HP LaserJet 400 M401dne)

The first one is the default but it causes a 3-second pause in between printing jobs. The second one prints without the pause. Does anyone know why this happens with the first driver or how to fix it?

I'm switching to HP printers from Brother printers for the improved Linux support. I will go through a lot of these so I want to prevent this from tripping me up in the future.

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
goutam (goutamkk) said :
#1

Hi,

Can you provide us 'hp-check' output.
Also can you deleting the existing print queue for this printer in 'system-config-printer' or use cups web interface http://localhost:631.

Reconfigure the print queue using 'hp-setup' command from terminal.
Let us know if you are observing the 3 - sec pause between print jobs.

Rgds,
Goutam

Revision history for this message
A. Person (tesoro302) said :
#2

I misspoke before. The difference between what works and what doesn't work is not the driver, it's the connection. This connection has a 3-second pause between print jobs:

hp:/usb/HP_LaserJet_400_M401dne?serial=PHGFC47100

This connection has no such pause:

usb://HP/LaserJet%20400%20M401dne?serial=PHGFC47100

My computer is connected to the printer via USB and I'm sending jobs to the printer via lpr. If the paper tray runs out during printing, the remaining print jobs print without pausing even with the hp:/ connection once paper is replaced in the tray.

Clearing the print queue in the CUPS interface does not prevent the pauses. I set up the printer in CUPS and I can't run hp-setup because I am remote to the office running the printer:

# hp-setup
warning: No display found.
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode.

# hp-check
Saving output in log file: /root/hp-check.log

HP Linux Imaging and Printing System (ver. 3.14.10)
Dependency/Version Check Utility ver. 15.1

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.

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).

Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
    OK
    MISSING - Missing Dependency or Permission or Plug-in
    INCOMPAT - Incompatible dependency-version or Plugin-version

|/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
warning: gentoo-2.2 version is not supported. Using gentoo-any versions dependencies to verify and install...

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

 Kernel: 3.17.7-gentoo #1 SMP PREEMPT Sun Dec 21 08:27:24 PST 2014 GNU/Linux
 Host: router
 Proc: 3.17.7-gentoo #1 SMP PREEMPT Sun Dec 21 08:27:24 PST 2014 GNU/Linux
 Distribution: gentoo 2.2
 Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.14.10
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for gentoo distro 2.2 version

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

[hplip]
version=3.14.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.14.10
html=/usr/share/doc/hplip-3.14.10/html
icon=/usr/share/applications
cupsbackend=/usr/libexec/cups/backend
cupsfilter=/usr/libexec/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=no
dbus-build=yes
cups11-build=no
doc-build=no
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.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
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.10

Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: No such file or directory
 <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>

--------------------------
| External Dependencies |
--------------------------

 policykit Admin-Policy-framework OPTIONAL - 0.112 OK -
 gs Ghostscript REQUIRED 7.05 9.10 OK -
 network Network-wget OPTIONAL - 1.16 OK -
 scanimage Shell-Scanning OPTIONAL 1.0 1.0.24 OK -
 error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'
 dbus DBus REQUIRED - 1.8.10 OK -
 cups CUPS REQUIRED 1.1 1.7.5 OK 'CUPS Scheduler is running'

(xsane:6325): Gtk-WARNING **: cannot open display:
 error: xsane SANE-GUI OPTIONAL 0.9 - INCOMPAT 'xsane needs to be installed'

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

 error: reportlab Python-PDF-Lib OPTIONAL 2.0 3.1.8 MISSING 'reportlab needs to be installed'
 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.11.1 OK -
 libjpeg JPEG-Lib REQUIRED - - OK -
 libpthread POSIX-Threads-Lib REQUIRED - 2.19 OK -
 python-dbus Python-DBUS REQUIRED 0.80.0 1.2.0 OK -
 python-devel Python-SDK REQUIRED 2.2 3.4.1 OK -
 pyqt4 Python-Qt4 REQUIRED 4.0 4.11.1 OK -
 cups-devel CUPS-SDK REQUIRED - 1.7.5 OK -
 sane-devel SANE-SDK REQUIRED - 1.0.24 OK -
 libusb USB-Lib REQUIRED - 1.0 OK -
 sane Scan-Lib REQUIRED - 1.0.24 OK -
 cups-image CUPS-Image-Lib REQUIRED - 1.7.5 OK -
 libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.7.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.8.3 OK -
 libtool Build-tools REQUIRED - 2.4.2 OK -
 make GNU-Build-tools REQUIRED 3.0 4.0 OK -

----------------------
| Python Extentions |
----------------------

 cupsext CUPS-Extension REQUIRED - 3.14.10 OK -
 pcardext PhotoCard-Extension REQUIRED - 3.14.10 OK -
 hpmudext IO-Extension REQUIRED - 3.14.10 OK -

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

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

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

*MASKED*

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

  Device URI Model
  ------------------------------------------------- --------------------------
  hp:/usb/HP_LaserJet_400_M401dne?serial=PHGFC47100 HP LaserJet 400 M401dne

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

HP_LaserJet_400_M401dne
-----------------------
Type: Printer
Device URI: hp:/usb/HP_LaserJet_400_M401dne?serial=PHGFC47100
PPD: /etc/cups/ppd/HP_LaserJet_400_M401dne.ppd
PPD Description: HP LaserJet 400 M401dne Postscript (recommended)
Printer status: printer HP_LaserJet_400_M401dne now printing HP_LaserJet_400_M401dne-1. enabled since Thu 08 Jan 2015 09:50:29 AM PST
Communication status: Good

*MASKED*
----------------------
*MASKED*
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

*MASKED*
-------------------
*MASKED*
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

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

USB HP_LaserJet_400_M401dne Required - - OK Node:'/dev/bus/usb/003/004' Perm:' root lp rw- rw- rw- rw- r--'

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

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
None

Total Errors: 3
Total Warnings: 3

Done.

Revision history for this message
A. Person (tesoro302) said :
#3

I was able to install a new print queue with 'hp-setup -i'. Printing with that queue still has a 3-second pause between jobs with the hp:/ connection.

Revision history for this message
A. Person (tesoro302) said :
#4

Any help here guys?

Revision history for this message
goutam kodu (goutam-hplip) said :
#5

Hi,

Sorry for delay in our reply.
Please give us sometime. We are trying to analyze this issue and trying to reproduce the same in out test lab.
We will get back to you.

Rgds,
Goutam

Revision history for this message
A. Person (tesoro302) said :
#6

OK thanks.

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

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

Revision history for this message
A. Person (tesoro302) said :
#8

How can I fix this?

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

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

Revision history for this message
Suma Byrappa (suma-byrappa) said :
#10

Please file a bug so that this gets tracked.

(Use "Create bug report" link below)