FS#23526 - [avahi] is required to print with some network printers

Attached to Project: Arch Linux
Opened by David Zaragoza (mclaud2000) - Thursday, 31 March 2011, 04:36 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 02 April 2011, 00:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Gaetan Bisson (vesath)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Note: This happens with HP printers using the hplip driver. I'm not sure if it is a CUPS or a hplip bug, but I think it is CUPS related.

Nothing that I try to print with CUPS goes to the printer, it just sits in the job list saying "Pending".
CUPS says the status of my printer is:
Paused - "/usr/lib/cups/backend/hp failed"
Restarting CUPS or DBus does nothing.

Additional info:
* package version(s):
cups: 1.4.6-1
hplip: 3.11.3-1

Steps to reproduce:
1.- Install a network printer with hp-setup.
2.- Try to print. The message Printer Paused - "/usr/lib/cups/backend/hp failed" will appear in the cups log.
3.- The printer will be now marked as paused in the CUPS web interface.

Solution:

1.- Start avahi-daemon.
2.- Resume the printer in the CUPS web interface.

Requirement:

Please add avahi-daemon to the dependencies of this package. Or at least as a optional dependency with a message notifying the user of the need to have running avahi-daemon for the printer to work.

See https://bbs.archlinux.org/viewtopic.php?id=85454 for more information.

Regards
This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 02 April 2011, 00:24 GMT
Reason for closing:  Not a bug
Additional comments about closing:  avahi is already a dependency of libcups, which is a dependency of cups.
Comment by Ionut Biru (wonder) - Thursday, 31 March 2011, 07:09 GMT
is already in the dependency tree.

pacman -Si libcups


i guess you forgot to start avahi or force removing it at one point?
Comment by Jan de Groot (JGC) - Thursday, 31 March 2011, 08:47 GMT
It's actually very weird that a usb printer would require a running zeroconf autodiscovery daemon. Maybe hplip changed in some way, but there's no valid reason to make cups itself depend on a running avahi daemon.
Comment by David Zaragoza (mclaud2000) - Friday, 01 April 2011, 05:30 GMT
@Ionut Biru (wonder): Oh, my bad! I didn't see the dependency under libcups, I only looked at the dependencies of CUPS. And I totally missed the CUPS entry in the Arch wiki related to the error.

@Jan de Groot (JGC): avahi is only needed when using the printer as a network printer, not directly attached to the computer with an USB cable. In my case is a HP Photosmart D110, a wireless printer.

This bug is invalid. Thanks for your fast response.

Loading...