2007-10-05 04:58:28 |
Patrice Vetsel |
description |
Binary package hint: hal-cups-utils
s-c-p -> 0.7.75+svn1653-0ubuntu1
hal-cups-utils -> 0.6.13+svn83-0ubuntu1
Plugin and power on my Canon iP3000, hal-cups-utils add it with a wrong driver : "Generic text-only printer"
The right driver exist for this printer in cups printers list.
+=============+
kagou@agape:~$ cd /usr/share/system-config-printer/
kagou@agape:/usr/share/system-config-printer$ python -c 'import cups, ppds;c=cups.Connection();a=c.getPPDs();p=ppds.PPDs(a);print p.getPPDNameFromDeviceID("Canon","iP3000","Canon iP3000",uri='foo')'
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'foo' is not defined
kagou@agape:/usr/share/system-config-printer$
+=============+
kagou@agape:~$ /usr/sbin/lpinfo -l -v
Matériel : URI = socket
classe = network
info = AppSocket/HP JetDirect
marque/modèle = Unknown
ID matériel =
Matériel : URI = beh
classe = network
info = Backend Error Handler
marque/modèle = Unknown
ID matériel =
Matériel : URI = hal:///org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_printer_noserial
classe = direct
info = Canon iP3000
marque/modèle = Canon iP3000
ID matériel = MFG:Canon;MDL:iP3000;CLS:PRINTER;
Matériel : URI = usb://Canon/iP3000
classe = direct
info = Canon iP3000 USB #1
marque/modèle = Canon iP3000
ID matériel = MFG:Canon;CMD:BJL,BJRaster3,BSCCe;SOJ:TXT01;MDL:iP3000;CLS:PRINTER;DES:Canon iP3000;VER:1.09;STA:10;FSI:03;
Matériel : URI = canon:/dev/lp0
classe = direct
info = Gutenprint Parallel Port #1
marque/modèle = CANON
ID matériel =
Matériel : URI = epson:/dev/lp0
classe = direct
info = Gutenprint Parallel Port #1
marque/modèle = EPSON
ID matériel =
Matériel : URI = canon:/dev/usb/lp0
classe = direct
info = Gutenprint USB Printer #1
marque/modèle = Canon iP3000
ID matériel =
Matériel : URI = hpfax
classe = direct
info = HP Fax (HPLIP)
marque/modèle = Unknown
ID matériel =
Matériel : URI = hp
classe = direct
info = HP Printer (HPLIP)
marque/modèle = Unknown
ID matériel =
Matériel : URI = http
classe = network
info = Internet Printing Protocol (http)
marque/modèle = Unknown
ID matériel =
Matériel : URI = ipp
classe = network
info = Internet Printing Protocol (ipp)
marque/modèle = Unknown
ID matériel =
Matériel : URI = lpd
classe = network
info = LPD/LPR Host or Printer
marque/modèle = Unknown
ID matériel =
Matériel : URI = parallel:/dev/lp0
classe = direct
info = LPT #1
marque/modèle = Unknown
ID matériel =
Matériel : URI = cups-pdf:/
classe = file
info = Print into PDF file
marque/modèle = Generic PDF file generator
ID matériel = MFG:Generic;MDL:PDF file generator;DES:Generic PDF file generator;CLS:PRINTER;CMD:POSTSCRIPT;
Matériel : URI = scsi
classe = direct
info = SCSI Printer
marque/modèle = Unknown
ID matériel =
Matériel : URI = smb
classe = network
info = Windows Printer via SAMBA
marque/modèle = Unknown
ID matériel =
kagou@agape:~$ |
Binary package hint: hal-cups-utils
s-c-p -> 0.7.75+svn1653-0ubuntu1
hal-cups-utils -> 0.6.13+svn83-0ubuntu1
Plugin and power on my Canon iP3000, hal-cups-utils add it with a wrong driver : "Generic text-only printer"
The right driver exist for this printer in cups printers list.
+=============+
kagou@agape:~$ lpinfo -m | grep -i ip3000
gutenprint.5.0://bjc-PIXMA-iP3000/expert/C Canon PIXMA iP3000 - CUPS+Gutenprint v5.0.1
gutenprint.5.0://bjc-PIXMA-iP3000/simple/C Canon PIXMA iP3000 - CUPS+Gutenprint v5.0.1 Simplified
kagou@agape:~$
+=============+
kagou@agape:~$ /usr/sbin/lpinfo -l -v
Matériel : URI = socket
classe = network
info = AppSocket/HP JetDirect
marque/modèle = Unknown
ID matériel =
Matériel : URI = beh
classe = network
info = Backend Error Handler
marque/modèle = Unknown
ID matériel =
Matériel : URI = hal:///org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial_printer_noserial
classe = direct
info = Canon iP3000
marque/modèle = Canon iP3000
ID matériel = MFG:Canon;MDL:iP3000;CLS:PRINTER;
Matériel : URI = usb://Canon/iP3000
classe = direct
info = Canon iP3000 USB #1
marque/modèle = Canon iP3000
ID matériel = MFG:Canon;CMD:BJL,BJRaster3,BSCCe;SOJ:TXT01;MDL:iP3000;CLS:PRINTER;DES:Canon iP3000;VER:1.09;STA:10;FSI:03;
Matériel : URI = canon:/dev/lp0
classe = direct
info = Gutenprint Parallel Port #1
marque/modèle = CANON
ID matériel =
Matériel : URI = epson:/dev/lp0
classe = direct
info = Gutenprint Parallel Port #1
marque/modèle = EPSON
ID matériel =
Matériel : URI = canon:/dev/usb/lp0
classe = direct
info = Gutenprint USB Printer #1
marque/modèle = Canon iP3000
ID matériel =
Matériel : URI = hpfax
classe = direct
info = HP Fax (HPLIP)
marque/modèle = Unknown
ID matériel =
Matériel : URI = hp
classe = direct
info = HP Printer (HPLIP)
marque/modèle = Unknown
ID matériel =
Matériel : URI = http
classe = network
info = Internet Printing Protocol (http)
marque/modèle = Unknown
ID matériel =
Matériel : URI = ipp
classe = network
info = Internet Printing Protocol (ipp)
marque/modèle = Unknown
ID matériel =
Matériel : URI = lpd
classe = network
info = LPD/LPR Host or Printer
marque/modèle = Unknown
ID matériel =
Matériel : URI = parallel:/dev/lp0
classe = direct
info = LPT #1
marque/modèle = Unknown
ID matériel =
Matériel : URI = cups-pdf:/
classe = file
info = Print into PDF file
marque/modèle = Generic PDF file generator
ID matériel = MFG:Generic;MDL:PDF file generator;DES:Generic PDF file generator;CLS:PRINTER;CMD:POSTSCRIPT;
Matériel : URI = scsi
classe = direct
info = SCSI Printer
marque/modèle = Unknown
ID matériel =
Matériel : URI = smb
classe = network
info = Windows Printer via SAMBA
marque/modèle = Unknown
ID matériel =
kagou@agape:~$ |
|