]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Switch to using "all" and "media-col-database" because some vendors apparently
authorMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 21 Jan 2019 17:02:19 +0000 (12:02 -0500)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 21 Jan 2019 17:02:19 +0000 (12:02 -0500)
do not know how to read (Issue #5484)

cgi-bin/admin.c
scheduler/ipp.c
systemv/lpadmin.c

index dc2d4f4e61106f13300840e7cb4e63bec4892d92..70b8f451b799f92b2640809721b6ae598ae4d2f5 100644 (file)
@@ -4222,9 +4222,7 @@ get_printer_ppd(const char *uri,  /* I - Printer URI */
   int          port;                   /* Port number */
   static const char * const pattrs[] = /* Printer attributes we need */
   {
-    "job-template",
-    "printer-defaults",
-    "printer-description",
+    "all",
     "media-col-database"
   };
 
index 4c411b6ceee0a06bcdcbeb07d6924979873bc349..e00275b09cd129863633790ae2bddca2a7bc1d4b 100644 (file)
@@ -5281,9 +5281,7 @@ create_local_bg_thread(
   ipp_status_t status;                 /* Status code */
   static const char * const pattrs[] = /* Printer attributes we need */
   {
-    "job-template",
-    "printer-defaults",
-    "printer-description",
+    "all",
     "media-col-database"
   };
 
index ee2438c1d38acb85219fdfd49a352754b3225a5e..e979e56c4f7572799fbac0a2b7d4a1f8ff7e9683 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * "lpadmin" command for CUPS.
  *
- * Copyright © 2007-2018 by Apple Inc.
+ * Copyright © 2007-2019 by Apple Inc.
  * Copyright © 1997-2006 by Easy Software Products.
  *
  * These coded instructions, statements, and computer programs are the
@@ -1194,9 +1194,7 @@ get_printer_ppd(
   int          port;                   /* Port number */
   static const char * const pattrs[] = /* Attributes to use */
   {
-    "job-template",
-    "printer-defaults",
-    "printer-description",
+    "all",
     "media-col-database"
   };