From 4b4c226dd5e0a4808bdcfe328af21e43f09de6ea Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Mon, 27 Jun 2016 14:16:12 +0200
Subject: [PATCH] A few comments on finisher settings

---
 xcpt.c | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/xcpt.c b/xcpt.c
index 4c4c9b4..3623709 100644
--- a/xcpt.c
+++ b/xcpt.c
@@ -392,7 +392,20 @@ static void gen_job_template(void)
   if (OPT_IS_SET(ORIENTATION))
     xcpt_keyword("document-reading-orientation", OPT(ORIENTATION));
 
-  // FIXME
+  /*
+   *  Values used:
+   *
+   *	20 = 1 staple
+   *	29 = 2 staples
+   *	40 = 4 staples
+   *	90+94 = 2-hole punch
+   *	92+93 = 4-hole punch
+   *	110 = fold & staple
+   *	111 = fold only
+   *	113 = fold & swap sides
+   *	1003 = single-fold inside
+   *	1004 = single-fold outside
+   */
   xcpt_set_open("finishings");
   xcpt_enum("value", 3);
   xcpt_close();
@@ -434,7 +447,7 @@ static void gen_job_template(void)
       xcpt_close();
     xcpt_keyword("media-type", OPT(MEDIATYPE));
     xcpt_close();
-  xcpt_keyword("print-quality-level", "standard");	// FIXME
+  xcpt_keyword("print-quality-level", "standard");	// FIXME: standard / enhanced / highest-resolution / toner-saver
   xcpt_keyword("sides", OPT(SIDES));
   xcpt_close();
 
-- 
GitLab