[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-17 Thread Till Kamppeter
system-config-printer (0.7.71+-svn1410-0ubuntu1) gutsy; urgency=low * New upstream release o Subversion snapshot r1410 o Allow textonly.ppd and postscript.ppd (for fallback on unknown printer models) to be at any arbitrary place in the PPD file directories o Fall bac

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-16 Thread Till Kamppeter
** Changed in: system-config-printer (Ubuntu) Status: In Progress => Fix Committed -- Wrong driver for my Canon iP3000 https://bugs.launchpad.net/bugs/131990 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs ma

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-16 Thread Till Kamppeter
Note that according to the console output the textonly.ppd is correctly selected also if using the interactive wizard, only the cursor in the lists is not set to the correct position. I have moved this bug to system-config-printer, as we have fixed it by editing /usr/share/system-config-printer/pp

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-16 Thread Till Kamppeter
I have checked in now an improvement that textonly.ppd and postscript.ppd will be found without needing an absolute path in ppds.py. So the distro can place these files wherever CUPS finds them. The correct PPD for the ip3000 gets selected for me now. What is still not working correctly is the in

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-16 Thread Tim Waugh
Oh, we'll select it with the name "Text-Only printer" then. I've checked that in. I've also checked in a smarter last-resort algorithm for model name matching. See if it gets your iP3000 now. -- Wrong driver for my Canon iP3000 https://bugs.launchpad.net/bugs/131990 You received this bug notif

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-16 Thread Till Kamppeter
I have run the command now. With the current cupsys package of Ubuntu the textonly.ppd gets installed. Problem is that the current system-config-printer needs an absolute path in /usr/share/system-config-printer/ppds.py to find the file (patch attached). My suggestion to make it working with any

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-16 Thread Tim Waugh
Okay, I think I see the problem. If you run this command (the same as before but with debugging) I think it will become apparent: cd /usr/share/system-config-printer/[EMAIL PROTECTED]:/usr/share/system- config-printer$ python -c 'import cups, ppds;ppds.debugging=True;c=cups.Connection();a=c.getPP

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-15 Thread Patrice Vetsel
I'm thinking that in module the complete name is with a "PIXMA" included. lpinfo do not report "Canon iP3000" but "Canon PIXMA iP3000" may be it's the cause ?!… -- Wrong driver for my Canon iP3000 https://bugs.launchpad.net/bugs/131990 You received this bug notification because you are a member

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-15 Thread Patrice Vetsel
[EMAIL PROTECTED]:/usr/share/system-config-printer$ 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 [EMAIL PROTECTED]:/usr/share/syst

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-15 Thread Patrice Vetsel
@Tim: oh that's right ! I get different than Till (it's strange …). For Till it's hpijs and for me it's Samsung. I should say that Canon iP3000 driver is available on the system. [EMAIL PROTECTED]:~$ cd /usr/share/system-config-printer/[EMAIL PROTECTED]:/usr/share/system-config-printer$ python -

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-15 Thread Till Kamppeter
I get the following: [EMAIL PROTECTED]:~/printing/system-config-printer/system-config-printer$ cd /usr/share/system-config-printer/ [EMAIL PROTECTED]:/usr/share/system-config-printer$ python -c 'import cups, ppds;c=cups.Connection();a=c.getPPDs();p=ppds.PPDs(

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-15 Thread Tim Waugh
Sorry, put double-quotes around foo instead of single quotes, so it's like: …,uri="foo")' -- Wrong driver for my Canon iP3000 https://bugs.launchpad.net/bugs/131990 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs ma

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-15 Thread Patrice Vetsel
hal-cups-utils 0.6.11-0ubuntu3 s-c-p 0.7.71+-svn1399-0ubuntu1 cupsys 1.3.0-2ubuntu1 [EMAIL PROTECTED]:~$ cd /usr/share/system-config-printer/ [EMAIL PROTECTED]:/usr/share/system-config-printer$ python -c 'import cups, ppds;c=cups.Connection();a=c.getPPDs();p=ppds.PPDs(a);print p.getPPDNameFromDe

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-15 Thread Tim Waugh
I fixed that in SVN earlier today. :-/ Try this, it will work around that problem: python -c 'import cups, ppds;c=cups.Connection();a=c.getPPDs();p=ppds.PPDs(a);print p.getPPDNameFromDeviceID("Canon","iP3000","Canon iP3000",uri='foo')' -- Wrong driver for my Canon iP3000 https://bugs.launchpad.

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-15 Thread Patrice Vetsel
[EMAIL PROTECTED]:~$ cd /usr/share/system-config-printer [EMAIL PROTECTED]:/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")' Traceback (most recent call last): File "",

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-15 Thread Tim Waugh
"com.redhat.NewPrinterNotification" is the D-Bus interface name. Try this: cd /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")' You can try changing ppds.py to set 'deb

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-15 Thread Patrice Vetsel
[EMAIL PROTECTED]:~$ /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 = Unk

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-15 Thread Patrice Vetsel
Is it normal to have "redhat" occurences in sources ?! [EMAIL PROTECTED]:~$ cat hal-cups-utils-0.6.11/systemv/hal_lpadmin | grep -i redhat obj = bus.get_object("com.redhat.NewPrinterNotification", "/com/redhat/NewPrinterNotification")

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-15 Thread Tim Waugh
Hmm. To get the Device ID string for the printer you can run '/usr/sbin/lpinfo -l -v'. -- Wrong driver for my Canon iP3000 https://bugs.launchpad.net/bugs/131990 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mail

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-15 Thread Patrice Vetsel
screenshot of problem ** Attachment added: "screenshot" http://launchpadlibrarian.net/8838688/missing.png -- Wrong driver for my Canon iP3000 https://bugs.launchpad.net/bugs/131990 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu.

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-15 Thread Tim Waugh
The PPD will be the one set in /etc/cups/ppd/iP3000.ppd. -- Wrong driver for my Canon iP3000 https://bugs.launchpad.net/bugs/131990 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubun

[Bug 131990] Re: Wrong driver for my Canon iP3000

2007-08-14 Thread Patrice Vetsel
Is there a way to know useful debug informations (like vendor/modl/ppd detected by h-c-u) when printer is plugged? -- Wrong driver for my Canon iP3000 https://bugs.launchpad.net/bugs/131990 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ub