Comment 16 for bug 711779

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The change is simple. After having applied the cups-avahi.dpatch to add the Avahi support only this little patch needs to get applied in addition:

--- scheduler/dirsvc.c~ 2011-06-03 17:34:56.000000000 +0200
+++ scheduler/dirsvc.c 2011-06-03 23:15:32.000000000 +0200
@@ -3043,6 +3043,9 @@
   keyvalue[i ][0] = "pdl";
   keyvalue[i++][1] = p->pdl ? p->pdl : "application/postscript";

+ keyvalue[i ][0] = "URF";
+ keyvalue[i++][1] = "none";
+
   if (get_auth_info_required(p, air_str, sizeof(air_str)))
   {
     keyvalue[i ][0] = "air";

Then we should have CUPS advertizing the service correctly, at least according to http://www.finnie.org/2010/11/13/airprint-and-linux/.