Comment 4 for bug 25630

Revision history for this message
Henk Koster (h-a-j-koster) wrote : Re: Cannot configure HPLIP printers in gnome-cups-manager

(In reply to comment #2)
> (In reply to comment #0)
> > How is it suppossed that HPLIP network printers (using hp:// URIs) must be
> > configured?
> >
> > If I choose CUPS Printer, it always adds a ipp:// to anything I write.
>
> No idea, I do not have such a device. Matthias, how is that done?

The problem is that gnome-cups-manager (in Breezy) does not offer a suitable
printer
type that can receive the special URI required for an HPLIP printer. I have an HP
DeskJet 5850 network printer with IP 10.0.0.160; using the command "makeuri
10.0.0.160"
the special URI is "hp:/net/deskjet_5800?ip=10.0.0.160" (note the single slash).
Clearly, this is a network printer, but none of the offered choices -- CUPS (IPP),
UNIX, SAMBA, or HP JetDirect -- will work with this URI. The CUPS (IPP) choice comes
close, but g-c-m insists on prepending "ipp://" making the resulting URI
meaningless.

I have found the following work-around:

1. Edit /etc/cups/cupsd.conf and comment out the lines with "AuthType Basic" and
   "AuthClass System" near the end of the file.
2. Run the command "/etc/init.d/cupsys restart".
3. Log in to http://localhost:631 (now no password required) and install the
printer,
   choosing the first offered printer type "AppSocket/HPJetDirect", choosing
   HP (HPLIP) as manufacturer, choosing the printer from the list, and accepting the
   recommended hpijs driver.

This installs the printer and, after configuring it for paper size, the test page
prints perfectly. I then log out, reverse the changes to /etc/cups/cupsd.conf and
restart cupsys once more.

The problem is in g-c-m, wouldn't you agree?