Mailinglist Archive: opensuse-bugs (14787 mails)
| < Previous | Next > |
[Bug 213927] gnome-cups-add shows no drivers
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Fri, 17 Nov 2006 16:04:15 -0700 (MST)
- Message-id: <20061117230415.6C7F625C887@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=213927
------- Comment #19 from fejj@xxxxxxxxxx 2006-11-17 16:04 MST -------
I tried changing IPP_TAG_PRINTER to IPP_TAG_OPERATION, that didn't seem to
change anything.
then I acted on a hunch noticing the other parameters were all "attributes-*"
("attributes-charset", "attributes-natural-language") and so changed it to
"attributes-requested" and TADA! Suddenly gnome-cups-add was able to populate
the driver page!
except the reason it works is NOT because "attributes-requested" is the correct
string, but rather because if there's no "requested-attributes" part of the
query, then cups assumes requested-attributes=all (which is how lpinfo -l -m
works at all, I'm presuming)
Also discovered that if I change the order of the requested-attributes string
array, then it changes the response from cups - e.g. cups only replies with the
first requested attribute.
So... CUPS bug? :)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Comment #19 from fejj@xxxxxxxxxx 2006-11-17 16:04 MST -------
I tried changing IPP_TAG_PRINTER to IPP_TAG_OPERATION, that didn't seem to
change anything.
then I acted on a hunch noticing the other parameters were all "attributes-*"
("attributes-charset", "attributes-natural-language") and so changed it to
"attributes-requested" and TADA! Suddenly gnome-cups-add was able to populate
the driver page!
except the reason it works is NOT because "attributes-requested" is the correct
string, but rather because if there's no "requested-attributes" part of the
query, then cups assumes requested-attributes=all (which is how lpinfo -l -m
works at all, I'm presuming)
Also discovered that if I change the order of the requested-attributes string
array, then it changes the response from cups - e.g. cups only replies with the
first requested attribute.
So... CUPS bug? :)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
| < Previous | Next > |