6017b9c
diff -up cups-1.5.0/cups/backend.c.backend-bad-id cups-1.5.0/cups/backend.c
6017b9c
--- cups-1.5.0/cups/backend.c.backend-bad-id	2011-04-29 23:45:35.000000000 +0100
6017b9c
+++ cups-1.5.0/cups/backend.c	2012-01-17 12:23:13.687442534 +0000
6017b9c
@@ -110,7 +110,8 @@ cupsBackendReport(
6017b9c
 
6017b9c
 
6017b9c
 /*
6017b9c
- * 'quote_string()' - Write a quoted string to stdout, escaping \ and ".
6017b9c
+ * 'quote_string()' - Write a quoted string to stdout, escaping \ and ",
6017b9c
+ * and replacing newline with space.
6017b9c
  */
6017b9c
 
6017b9c
 static void
6017b9c
@@ -125,7 +126,10 @@ quote_string(const char *s)		/* I - Stri
6017b9c
       if (*s == '\\' || *s == '\"')
6017b9c
 	putchar('\\');
6017b9c
 
6017b9c
-      putchar(*s);
6017b9c
+      if (*s == '\n')
6017b9c
+	putchar(' ');
6017b9c
+      else
6017b9c
+	putchar(*s);
6017b9c
 
6017b9c
       s ++;
6017b9c
     }