Package: foo2zjs / 20200505dfsg0-1

0025-Re-enable-manual-duplex-printing-for-Samsung-CLP-300.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
From: Sam Morris <sam@robots.org.uk>
Date: Wed, 5 Jun 2013 18:33:08 +0100
Subject: Re-enable manual duplex printing for Samsung CLP 300

Closes: #627542
---
 foomatic-db/opt/foo2qpdl-Duplex.xml | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)

diff --git a/foomatic-db/opt/foo2qpdl-Duplex.xml b/foomatic-db/opt/foo2qpdl-Duplex.xml
index 8b1b551..8f85066 100644
--- a/foomatic-db/opt/foo2qpdl-Duplex.xml
+++ b/foomatic-db/opt/foo2qpdl-Duplex.xml
@@ -16,9 +16,6 @@
 	    <driver>foo2qpdl</driver>
 	    <arg_defval>ev/foo2qpdl-Duplex-1</arg_defval>
 	</constraint>
-	<constraint sense="false">
-	    <make>Samsung</make> <model>CLP-300</model>
-	</constraint>
 	<constraint sense="false">
 	    <make>Samsung</make> <model>CLP-310</model>
 	</constraint>
@@ -63,11 +60,31 @@
 	    <ev_longname> <en>Long Edge (Standard)</en> </ev_longname>
 	    <ev_shortname> <en>DuplexNoTumble</en> </ev_shortname>
 	    <ev_driverval>2</ev_driverval>
+	    <constraints>
+		<constraint sense="false">
+		    <make>Samsung</make> <model>CLP-300</model>
+		</constraint>
+	    </constraint>
 	</enum_val>
 	<enum_val id="ev/foo2qpdl-Duplex-3">
 	    <ev_longname> <en>Short Edge (Flip)</en> </ev_longname>
 	    <ev_shortname> <en>DuplexTumble</en> </ev_shortname>
 	    <ev_driverval>3</ev_driverval>
+	    <constraints>
+		<constraint sense="false">
+		    <make>Samsung</make> <model>CLP-300</model>
+		</constraint>
+	    </constraint>
+	</enum_val>
+	<enum_val id="ev/foo2qpdl-Duplex-4">
+	    <ev_longname> <en>Manual Long Edge (Standard)</en> </ev_longname>
+	    <ev_shortname> <en>ManualDuplexNoTumble</en> </ev_shortname>
+	    <ev_driverval>4</ev_driverval>
+	</enum_val>
+	<enum_val id="ev/foo2qpdl-Duplex-5">
+	    <ev_longname> <en>Manual Short Edge (Flip)</en> </ev_longname>
+	    <ev_shortname> <en>ManualDuplexTumble</en> </ev_shortname>
+	    <ev_driverval>5</ev_driverval>
 	</enum_val>
     </enum_vals>
 </option>