From 6cf21c3b8774bbfcbd51f03c742cd1d6e80caeb5 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 21 Jan 2019 12:02:19 -0500 Subject: [PATCH] Switch to using "all" and "media-col-database" because some vendors apparently do not know how to read (Issue #5484) --- cgi-bin/admin.c | 4 +--- scheduler/ipp.c | 4 +--- systemv/lpadmin.c | 6 ++---- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/cgi-bin/admin.c b/cgi-bin/admin.c index dc2d4f4e6..70b8f451b 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 4c411b6ce..e00275b09 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 ee2438c1d..e979e56c4 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" }; -- 2.39.2