Printing: Unable to lookup host 'usb' - Unknown host

Bug #138473 reported by Dianne Reuby on 2007-09-09
2
Affects Status Importance Assigned to Milestone
gnome-cups-manager (Ubuntu)
Undecided
Pascal De Vuyst

Bug Description

Binary package hint: cupsys

Ubuntu 7.04, Canon IP3000 printer, Turboprint driver, I've had no problems until now, using it for about four months.

No "pop-up" type error dialog, but properties shows "printer not connected -- will retry in 30 seconds" and "Printing: Unable to lookup host 'usb' - Unknown host".

I've installed these two updates (at least) since I last used the printer:
Commit Log for Sat Sep 8 17:16:06 2007
Upgraded the following packages:
libkrb53 (1.4.4-5ubuntu3.2) to 1.4.4-5ubuntu3.3

Commit Log for Wed Sep 5 08:24:39 2007
Upgraded the following packages:
libkrb53 (1.4.4-5ubuntu3.1) to 1.4.4-5ubuntu3.2

My error log has only this:
E [07/Sep/2007:13:56:46 +0100] Creating missing directory "/var/run/cups/certs"
E [07/Sep/2007:13:58:59 +0100] Creating missing directory "/var/run/cups/certs"
E [08/Sep/2007:08:47:42 +0100] Creating missing directory "/var/run/cups/certs"

I can print a test page from System > printers with no problems, but not from TurboPrint driver configure program. My printer is connected directly to my PC with USB - I have no network.

Please attach the output of the printingbug info script, it can be found here: https://wiki.ubuntu.com/PrintingBugInfoScript.

Changed in cupsys:
assignee: nobody → pascal-devuyst
status: New → Incomplete
Dianne Reuby (pramclub) wrote :

ProblemType: printingbuginfo v2.0: printingbug+localusb (https://wiki.ubuntu.com/PrintingBugInfoScript)
CupsConfiguredDevices:
 device for PIXMA-iP3000: ipp://usb://Canon/iP3000
 device for tp0: ipp://usb://Canon/iP3000
CupsConfiguredPPDs:
 PIXMA-iP3000: Canon PIXMA iP3000 - CUPS+Gutenprint v5.0.0.99.1
 tp0: Canon_PIXMA_iP3000 TurboPrint
Date: Mon Sep 10 09:07:52 2007
DesktopEnvironment: GNOME
DistroRelease: Ubuntu 7.04
EtcPapersize: a4
InstalledPrintingPackages:
 ii cupsys 1.2.8-0ubuntu8 Common UNIX Printing System(tm) - server
 ii cupsys-driver-gutenprint 5.0.0.99.1-0ubuntu2 printer drivers for CUPS
 ii foo2zjs 20061224-0ubuntu3 Support for printing to ZjStream-based printers
 ii foomatic-db 20070327-0ubuntu1 OpenPrinting printer support - database
 ii foomatic-db-engine 3.0.2-20070303-0ubuntu1 OpenPrinting printer support - programs
 ii foomatic-db-hpijs 20070327-0ubuntu1 OpenPrinting printer support - database for HPIJS driver
 ii foomatic-filters 3.0.2-20070323-0ubuntu1 OpenPrinting printer support - filters
 ii gnome-cups-manager 0.31-3ubuntu5 CUPS printer admin tool for GNOME
 ii gs-common 0.3.11ubuntu1 Common files for different Ghostscript releases
 ii gs-esp 8.15.4.dfsg.1-0ubuntu1 The Ghostscript PostScript interpreter - ESP version
 ii gs-esp-x 8.15.4.dfsg.1-0ubuntu1 The Ghostscript PostScript interpreter - ESP version
 ii hpijs 2.7.2+1.7.3-0ubuntu1 HP Linux Printing and Imaging - gs IJS driver (hpijs)
 ii hplip 1.7.3-0ubuntu1 HP Linux Printing and Imaging System (HPLIP)
 ii libgnomeprint2.2-0 2.18.0-0ubuntu1 The GNOME 2.2 print architecture - runtime files
 ii min12xxw 0.0.9-1build1 Printer driver for KonicaMinolta PagePro 1[234]xxW
 ii openprinting-ppds 20070327-0ubuntu1 OpenPrinting printer support - PostScript PPD files
 ii pnm2ppa 1.12-16 PPM to PPA converter
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8, LC_PAPER=en_GB.UTF-8
Uname: Linux dianne-desktop 2.6.20-16-generic #2 SMP Fri Aug 31 00:55:27 UTC 2007 i686 GNU/Linux
UsbPrinterDevices:
UsbPrinterIEEE1284Id:
UsbPrinterKernelModules:
lsusb:
 Bus 005 Device 001: ID 0000:0000
 Bus 004 Device 005: ID 0bb2:6098 Ambit Microsystems Corp. USB Cable Modem
 Bus 004 Device 002: ID 05e3:0606 Genesys Logic, Inc.
 Bus 004 Device 001: ID 0000:0000
 Bus 003 Device 001: ID 0000:0000
 Bus 002 Device 001: ID 0000:0000
 Bus 001 Device 001: ID 0000:0000

The devices for your printer seems to be wrong:
ipp://usb://Canon/iP3000
The part after ipp:// is interpreted as a hostname, that's why you get the Unable to lookup host 'usb' - Unknown host.

For a directly connected printer the device should be:
usb://Canon/iP3000

What happens if you reinstall your printer queue?

Dianne Reuby (pramclub) wrote :

If I change the URI in properties, I still can't print - but should I do a complete reinstall instead?

I have noticed that selecting "properties" for the printer pushes CPU usage right up to 100%. and the "properties" dialogue takes about 20 seconds to load.

Dianne Reuby (pramclub) wrote :

Forgot to say - my printer properties also shows Printer Type = network printer, rather than "Local or detected printer" although my PC is completely stand-alone. Is this correct?

Till Kamppeter (till-kamppeter) wrote :

URIs like

ipp://usb://Canon/iP3000

are never generated by CUPS. For me it looks like a problem of the gnome-cups-manager. Moving ...

Henrik Nilsen Omma (henrik) wrote :

We have changed the default print management system in Ubuntu from gnome-cups-manager to system-config-printer because g-c-m is no longer maintained. Please open a new bug against system-config-printer if you still have this problem with Gutsy or Hardy. Thanks!

Changed in gnome-cups-manager:
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers