From: Michael R Sweet Date: Mon, 21 Jan 2019 17:02:19 +0000 (-0500) Subject: Switch to using "all" and "media-col-database" because some vendors apparently X-Git-Tag: v2.2.11~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cf21c3b8774bbfcbd51f03c742cd1d6e80caeb5;p=thirdparty%2Fcups.git Switch to using "all" and "media-col-database" because some vendors apparently do not know how to read (Issue #5484) --- diff --git a/cgi-bin/admin.c b/cgi-bin/admin.c index dc2d4f4e61..70b8f451b7 100644 --- a/cgi-bin/admin.c +++ b/cgi-bin/admin.c @@ -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" }; diff --git a/scheduler/ipp.c b/scheduler/ipp.c index 4c411b6cee..e00275b09c 100644 --- a/scheduler/ipp.c +++ b/scheduler/ipp.c @@ -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" }; diff --git a/systemv/lpadmin.c b/systemv/lpadmin.c index ee2438c1d3..e979e56c4f 100644 --- a/systemv/lpadmin.c +++ b/systemv/lpadmin.c @@ -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" };