On Wed, 2009-07-22 at 21:30 +0200, Till Kamppeter wrote:
> Great, have you also posted an upstream bug report with the patch, on 
> http://launchpad.net/hplip/?

No, not yet.

> The "usb"-and-"hp"-only CUPS_GET_DEVICES IPP request does not actually 
> work for me (CUPS 1.3.11). I get back the answers of all CUPS backends, 
> not only of "hp" and "usb". Therefore I have inserted this code piece to 
> filter out the unwished backends manually.

That must be new in CUPS 1.4 then.  Thanks.

> The very last change is to take into account that serial numbers can be 
> shorter than 12 characters.

Serial numbers from the Device ID field can be any length, yes, but
'serial' in that context is the USB serial number.  As I understand it
these must have a minimum of 12 characters.

> -         uris->uri[uris->n_uris + i] = uris_noserial.uri[i];
> +         uris->uri[uris->n_uris + i] = strdup(uris_noserial.uri[i]);

Good catch, thanks.

Tim.
*/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
devkit-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to