Package list splix / 81af685
Add support for Samsung ML-2165. Signed-off-by: Luca Niccoli <lultimouomo@gmail.com> Luca Niccoli 8 years ago
2 changed file(s) with 297 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 From: Luca Niccoli <lultimouomo@gmail.com>
1 Date: Mon, 12 Aug 2013 13:52:32 +0200
2 Subject: Add support for Samsung ML-2165.
3
4 Signed-off-by: Luca Niccoli <lultimouomo@gmail.com>
5 ---
6 ppd/samsung.drv.in | 29 +++++++++++++++++++
7 ppd/spl2.defs | 64 +----------------------------------------
8 ppd/spl2bandedjbig.defs | 62 +---------------------------------------
9 ppd/spl2basic.defs | 75 +++++++++++++++++++++++++++++++++++++++++++++++++
10 4 files changed, 106 insertions(+), 124 deletions(-)
11 create mode 100644 ppd/spl2basic.defs
12
13 diff --git a/ppd/samsung.drv.in b/ppd/samsung.drv.in
14 index 12ff223..63c62e2 100644
15 --- a/ppd/samsung.drv.in
16 +++ b/ppd/samsung.drv.in
17 @@ -263,6 +263,35 @@ Manufacturer "Samsung"
18 }
19 }
20
21 +//
22 +// ML-2165 printer (different margins than the other monochrome printers)
23 +//
24 +{
25 + HWMargins 12.5 12.5 12.5 12.5
26 + #import "spl2basic.defs"
27 + #import "filter.defs"
28 + #import "powersave.defs"
29 + #import "tonerdensity.defs"
30 + #import "tonersave.defs"
31 + #import "jamrecovery.defs"
32 + #import "monochrome-v2.defs"
33 +
34 + {
35 + Attribute QPDL QPDLVersion "3"
36 + Attribute General DocHeaderValues "<0><0><1>"
37 + {
38 + Resolution k 1 0 0 0 "1200dpi/1200 DPI"
39 + #import "manualduplex.defs"
40 + {
41 + Throughput "21"
42 + MediaSize A4
43 +
44 + ModelName "ML-2165"
45 + PCFileName "ml2165.ppd"
46 + }
47 + }
48 + }
49 +}
50
51
52
53 diff --git a/ppd/spl2.defs b/ppd/spl2.defs
54 index 9927e6a..48967e8 100644
55 --- a/ppd/spl2.defs
56 +++ b/ppd/spl2.defs
57 @@ -5,72 +5,10 @@
58 *
59 * $Id: spl2.defs 298 2011-07-20 16:20:18Z tillkamppeter $
60 */
61 -#include <media.defs>
62 -
63 -#media "Oficio/Oficio - 216x340mm" 612 972
64
65 // Supported paper format
66 HWMargins 10.75 15 10.75 15
67 -*MediaSize Letter
68 -MediaSize Legal
69 -MediaSize A4
70 -MediaSize Executive
71 -MediaSize Ledger
72 -MediaSize A3
73 -MediaSize Env10
74 -MediaSize Monarch
75 -MediaSize C5
76 -MediaSize DL
77 -MediaSize B4
78 -MediaSize B5
79 -MediaSize EnvISOB5
80 -// Not listed
81 -MediaSize Postcard
82 -MediaSize DoublePostcardRotated
83 -MediaSize A5
84 -MediaSize A6
85 -MediaSize B6
86 -// Custom
87 -MediaSize C6
88 -MediaSize Folio
89 -MediaSize EnvPersonal
90 -MediaSize Env9
91 -MediaSize Oficio
92 -
93 -// VariablePaperSize yes
94 -
95 -// Supported input slots
96 -*InputSlot 1 "Auto/Automatic Selection"
97 -InputSlot 2 "Manual/Manual Feed"
98 -
99 -
100 -
101 -
102 -//
103 -// Defining PJL variables
104 -//
105 -
106 -// Supported paper type
107 -Option "MediaType/Paper Type" PickOne AnySetup 10
108 - *Choice "OFF/Use Printer Default" ""
109 - Choice "NORMAL/Plain Paper" ""
110 - Choice "THICK/Thick Paper" ""
111 - Choice "THIN/Thin Paper" ""
112 - Choice "BOND/Bond" ""
113 - Choice "OHP/Transparency" ""
114 - Choice "CARD/Card Stock" ""
115 - Choice "LABEL/Label" ""
116 - Choice "USED/Preprinted" ""
117 - Choice "COLOR/Colored Paper" ""
118 - Choice "ENV/Envelope" ""
119 - Choice "COTTON/Cotton" ""
120 - Choice "RECYCLED/Recycled" ""
121 - Choice "ARCHIVE/Archive" ""
122 -
123 -Attribute QPDL BandSize "128"
124 -Attribute PJL BeginPJL "<1B>%-12345X"
125 -Attribute PJL EndPJL "<09><1B>%-12345X"
126 -
127 +#import "spl2basic.defs"
128
129 /* vim: set expandtab tabstop=4 shiftwidth=4 smarttab tw=80 enc=utf8: */
130
131 diff --git a/ppd/spl2bandedjbig.defs b/ppd/spl2bandedjbig.defs
132 index 2301f1c..23daac3 100644
133 --- a/ppd/spl2bandedjbig.defs
134 +++ b/ppd/spl2bandedjbig.defs
135 @@ -5,39 +5,12 @@
136 *
137 * $Id: spl2.defs 210 2008-05-30 23:38:15Z ap2c $
138 */
139 -#include <media.defs>
140 -
141 -#media "Oficio/Oficio - 216x340mm" 612 972
142
143 // Supported paper format
144 // For banded jbig printers, all hardware margins seems to be 12pt.
145 // HWMargins left bottom right top
146 HWMargins 12 12 12 12
147 -*MediaSize Letter
148 -MediaSize Legal
149 -MediaSize A4
150 -MediaSize Executive
151 -MediaSize Ledger
152 -MediaSize A3
153 -MediaSize Env10
154 -MediaSize Monarch
155 -MediaSize C5
156 -MediaSize DL
157 -MediaSize B4
158 -MediaSize B5
159 -MediaSize EnvISOB5
160 -// Not listed
161 -MediaSize Postcard
162 -MediaSize DoublePostcardRotated
163 -MediaSize A5
164 -MediaSize A6
165 -MediaSize B6
166 -// Custom
167 -MediaSize C6
168 -MediaSize Folio
169 -MediaSize EnvPersonal
170 -MediaSize Env9
171 -MediaSize Oficio
172 +#import "spl2basic.defs"
173
174 // Enable to accept custom page sizes
175 VariablePaperSize yes
176 @@ -46,38 +19,5 @@ MaxSize 8.5in 14in
177 //MinSize width length
178 MinSize 3in 6.3in
179
180 -// Supported input slots
181 -*InputSlot 1 "Auto/Automatic Selection"
182 -InputSlot 2 "Manual/Manual Feed"
183 -
184 -
185 -
186 -
187 -//
188 -// Defining PJL variables
189 -//
190 -
191 -// Supported paper type
192 -Option "MediaType/Paper Type" PickOne AnySetup 10
193 - *Choice "OFF/Use Printer Default" ""
194 - Choice "NORMAL/Plain Paper" ""
195 - Choice "THICK/Thick Paper" ""
196 - Choice "THIN/Thin Paper" ""
197 - Choice "BOND/Bond" ""
198 - Choice "OHP/Transparency" ""
199 - Choice "CARD/Card Stock" ""
200 - Choice "LABEL/Label" ""
201 - Choice "USED/Preprinted" ""
202 - Choice "COLOR/Colored Paper" ""
203 - Choice "ENV/Envelope" ""
204 - Choice "COTTON/Cotton" ""
205 - Choice "RECYCLED/Recycled" ""
206 - Choice "ARCHIVE/Archive" ""
207 -
208 -Attribute QPDL BandSize "128"
209 -Attribute PJL BeginPJL "<1B>%-12345X"
210 -Attribute PJL EndPJL "<09><1B>%-12345X"
211 -
212 -
213 /* vim: set expandtab tabstop=4 shiftwidth=4 smarttab tw=80 enc=utf8: */
214
215 diff --git a/ppd/spl2basic.defs b/ppd/spl2basic.defs
216 new file mode 100644
217 index 0000000..f56499f
218 --- /dev/null
219 +++ b/ppd/spl2basic.defs
220 @@ -0,0 +1,75 @@
221 +/*
222 + * spl2.defs (C) 2007, Aurélien Croc (AP²C)
223 + *
224 + *
225 + *
226 + * $Id$
227 + */
228 +#include <media.defs>
229 +
230 +#media "Oficio/Oficio - 216x340mm" 612 972
231 +
232 +// Supported paper format
233 +*MediaSize Letter
234 +MediaSize Legal
235 +MediaSize A4
236 +MediaSize Executive
237 +MediaSize Ledger
238 +MediaSize A3
239 +MediaSize Env10
240 +MediaSize Monarch
241 +MediaSize C5
242 +MediaSize DL
243 +MediaSize B4
244 +MediaSize B5
245 +MediaSize EnvISOB5
246 +// Not listed
247 +MediaSize Postcard
248 +MediaSize DoublePostcardRotated
249 +MediaSize A5
250 +MediaSize A6
251 +MediaSize B6
252 +// Custom
253 +MediaSize C6
254 +MediaSize Folio
255 +MediaSize EnvPersonal
256 +MediaSize Env9
257 +MediaSize Oficio
258 +
259 +// VariablePaperSize yes
260 +
261 +// Supported input slots
262 +*InputSlot 1 "Auto/Automatic Selection"
263 +InputSlot 2 "Manual/Manual Feed"
264 +
265 +
266 +
267 +
268 +//
269 +// Defining PJL variables
270 +//
271 +
272 +// Supported paper type
273 +Option "MediaType/Paper Type" PickOne AnySetup 10
274 + *Choice "OFF/Use Printer Default" ""
275 + Choice "NORMAL/Plain Paper" ""
276 + Choice "THICK/Thick Paper" ""
277 + Choice "THIN/Thin Paper" ""
278 + Choice "BOND/Bond" ""
279 + Choice "OHP/Transparency" ""
280 + Choice "CARD/Card Stock" ""
281 + Choice "LABEL/Label" ""
282 + Choice "USED/Preprinted" ""
283 + Choice "COLOR/Colored Paper" ""
284 + Choice "ENV/Envelope" ""
285 + Choice "COTTON/Cotton" ""
286 + Choice "RECYCLED/Recycled" ""
287 + Choice "ARCHIVE/Archive" ""
288 +
289 +Attribute QPDL BandSize "128"
290 +Attribute PJL BeginPJL "<1B>%-12345X"
291 +Attribute PJL EndPJL "<09><1B>%-12345X"
292 +
293 +
294 +/* vim: set expandtab tabstop=4 shiftwidth=4 smarttab tw=80 enc=utf8: */
295 +
33 0004-Add-target-to-pre-process-drvs.patch
44 0005-Set-debian-build-flags-during-build.patch
55 0006-Add-support-for-Samsung-ML-2160-Closes-696240.patch
6 0007-Add-support-for-Samsung-ML-2165.patch