summaryrefslogtreecommitdiff
path: root/scheduler/printers.c
diff options
context:
space:
mode:
authorMichael Sweet <michael.r.sweet@gmail.com>2017-03-08 16:07:09 -0500
committerMichael Sweet <michael.r.sweet@gmail.com>2017-03-08 16:07:09 -0500
commit1fbd0cabfb917b9e4eca8f38a62809fa4c138b21 (patch)
tree4ad5d8d4777ceb0f2258f096087840048a2e6cde /scheduler/printers.c
parent9c0c89124b4d251674905fc8560cf9ed21040a46 (diff)
First half of the changes for Issue #4960, Issue #4961, and Issue #4962 - add
a cupsIPPFinishings mapping for standard/common keywords when cupsIPPFinishings is not specified in the PPD file (as it should be for CUPS drivers).
Diffstat (limited to 'scheduler/printers.c')
-rw-r--r--scheduler/printers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/scheduler/printers.c b/scheduler/printers.c
index 63ca80d67..985f86622 100644
--- a/scheduler/printers.c
+++ b/scheduler/printers.c
@@ -1,7 +1,7 @@
/*
* Printer routines for the CUPS scheduler.
*
- * Copyright 2007-2016 by Apple Inc.
+ * Copyright 2007-2017 by Apple Inc.
* Copyright 1997-2007 by Easy Software Products, all rights reserved.
*
* These coded instructions, statements, and computer programs are the
@@ -4584,6 +4584,7 @@ load_ppd(cupsd_printer_t *p) /* I - Printer */
if (ppdFindOption(ppd, "Collate") != NULL)
p->type |= CUPS_PRINTER_COLLATE;
+ /* TODO: look at finishings array for values */
if (ppdFindOption(ppd, "StapleLocation") != NULL)
{
p->type |= CUPS_PRINTER_STAPLE;