Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
<?xml version="1.0" encoding="UTF-8"?>
2
<preferreddrivers>
3
  <drivertypes>
4
    <!-- GENERIC DRIVERS -->
5
    <drivertype name="generic-foomatic-recommended">
6
      <ppdname match="(foomatic(-db-compressed-ppds)?|ijsgutenprint.*):"/>
7
      <deviceid>
8
	<field name="DRV" match=".*,?R1"/>
9
      </deviceid>
10
      <fit>
11
	generic
12
      </fit>
13
    </drivertype>
14
 
15
    <drivertype name="generic-escp">
16
      <ppdname match="(foomatic(-db-compressed-ppds)?|ijsgutenprint.*):Generic-ESC_P"/>
17
      <fit>
18
	generic
19
	none
20
      </fit>
21
    </drivertype>
22
 
23
    <drivertype name="generic-escp">
24
      <ppdname match="drv:///sample.drv/epson(9|24).ppd"/>
25
      <fit>
26
	generic
27
	none
28
      </fit>
29
    </drivertype>
30
 
31
    <drivertype name="generic-postscript">
32
      <attribute name="ppd-make-and-model"
33
		 match="Generic PostScript Printer"/>
34
      <fit>
35
	generic
36
	none
37
      </fit>
38
    </drivertype>
39
 
40
    <drivertype name="generic-pcl6">
41
      <attribute name="ppd-make-and-model"
42
		 match="Generic PCL 6 Printer"/>
43
      <fit>
44
	generic
45
	none
46
      </fit>
47
    </drivertype>
48
 
49
    <drivertype name="generic-pcl5e">
50
      <attribute name="ppd-make-and-model"
51
		 match="Generic PCL 5e Printer"/>
52
      <fit>
53
	generic
54
	none
55
      </fit>
56
    </drivertype>
57
 
58
    <drivertype name="generic-pcl5">
59
      <attribute name="ppd-make-and-model"
60
		 match="Generic PCL 5 Printer"/>
61
      <fit>
62
	generic
63
	none
64
      </fit>
65
    </drivertype>
66
 
67
    <drivertype name="generic-pcl">
68
      <attribute name="ppd-make-and-model"
69
		 match="Generic PCL Laser Printer"/>
70
      <fit>
71
	generic
72
	none
73
      </fit>
74
    </drivertype>
75
 
76
    <drivertype name="generic">
77
      <fit>
78
	generic
79
	none
80
      </fit>
81
    </drivertype>
82
 
83
    <!-- END OF GENERIC DRIVERS -->
84
    <!-- now fit is either exact-cmd, exact, or close -->
85
 
86
    <drivertype name="driverless">
87
      <ppdname match="driverless:"/>
88
    </drivertype>
89
 
90
    <drivertype name="cups">
91
      <ppdname match="drv:///sample.drv/"/>
92
    </drivertype>
93
 
94
    <drivertype name="ghostscript">
95
      <attribute name="ppd-product" match=".*Ghostscript"/>
96
    </drivertype>
97
 
98
    <drivertype name="gutenprint-simplified">
99
      <ppdname match="gutenprint.*:.*/simple|.*-gutenprint.*\.sim"/>
100
    </drivertype>
101
 
102
    <drivertype name="gutenprint-expert">
103
      <ppdname match="gutenprint.*:|.*-gutenprint"/>
104
    </drivertype>
105
 
106
    <drivertype name="foomatic-recommended-hpijs">
107
      <attribute name="ppd-make-and-model" match=".* Foomatic/hpijs"/>
108
      <deviceid>
109
	<field name="DRV" match=".*,?R1"/>
110
      </deviceid>
111
    </drivertype>
112
 
113
    <drivertype name="foomatic-hpijs">
114
      <attribute name="ppd-make-and-model" match=".* Foomatic/hpijs"/>
115
    </drivertype>
116
 
117
    <drivertype name="foomatic-recommended-postscript">
118
      <ppdname match="foomatic(-db-compressed-ppds)?:"/>
119
      <attribute name="ppd-make-and-model" match=".*Postscript"/>
120
      <deviceid>
121
	<field name="DRV" match=".*,?R1"/>
122
      </deviceid>
123
    </drivertype>
124
 
125
    <drivertype name="foomatic-postscript">
126
      <ppdname match="foomatic(-db-compressed-ppds)?:.*-Postscript"/>
127
    </drivertype>
128
 
129
    <drivertype name="foomatic-recommended-nonpostscript">
130
      <ppdname match="(foomatic(-db-compressed-ppds)?|ijsgutenprint.*):"/>
131
      <deviceid>
132
	<field name="DRV" match=".*,?R1"/>
133
      </deviceid>
134
    </drivertype>
135
 
136
    <drivertype name="foomatic-gutenprint">
137
      <ppdname match="(foomatic(-db-compressed-ppds)?|ijsgutenprint.*):.*-gutenprint"/>
138
    </drivertype>
139
 
140
    <drivertype name="foomatic">
141
      <ppdname match="(foomatic(-db-compressed-ppds)?|ijsgutenprint.*):"/>
142
    </drivertype>
143
 
144
    <drivertype name="hpcups-plugin">
145
      <ppdname match="drv:///(hp/)?hpcups.drv/|.*-hpcups"/>
146
      <attribute name="ppd-make-and-model" match=".* plugin"/>
147
    </drivertype>
148
 
149
    <drivertype name="hpcups">
150
      <ppdname match="drv:///(hp/)?hpcups.drv/|.*-hpcups"/>
151
    </drivertype>
152
 
153
    <drivertype name="hpijs-plugin">
154
      <ppdname match="drv:///(hp/)?hpijs.drv/|.*-hpijs"/>
155
      <attribute name="ppd-make-and-model" match=".* plugin"/>
156
    </drivertype>
157
 
158
    <drivertype name="hpijs">
159
      <ppdname match="drv:///(hp/)?hpijs.drv/|.*-hpijs"/>
160
    </drivertype>
161
 
162
    <drivertype name="splix">
163
      <ppdname match=".*splix"/>
164
    </drivertype>
165
 
166
    <drivertype name="turboprint">
167
      <ppdname match=".*turboprint"/>
168
    </drivertype>
169
 
170
    <drivertype name="manufacturer-ricoh-ps">
171
      <ppdname match=".*/(Ricoh|Lanier|Gestetner|InfoPrint|Infotech|Savin|NRG)/PS/"/>
172
    </drivertype>
173
 
174
    <drivertype name="manufacturer-ricoh-pxl">
175
      <ppdname match=".*/(Ricoh|Lanier|Gestetner|InfoPrint|Infotech|Savin|NRG)/PXL/"/>
176
    </drivertype>
177
 
178
    <drivertype name="pdf">
179
      <attribute name="ppd-make-and-model"
180
		 match=".*\bpdf\b"/>
181
    </drivertype>
182
 
183
    <drivertype name="manufacturer-cmd">
184
      <fit>
185
	exact-cmd
186
      </fit>
187
    </drivertype>
188
 
189
    <!-- Catch-all -->
190
    <drivertype name="manufacturer"/>
191
  </drivertypes>
192
 
193
  <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
194
  <!-- This is where the types are arranged into the preferred order -->
195
  <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
196
 
197
  <preferenceorder>
198
    <!-- gutenprint is no good on the Brother HL-2030 (bug #645993) -->
199
    <printer>
200
      <make-and-model match="Brother HL-2030"/>
201
      <deviceid>
202
	<field name="MFG" match="Brother"/>
203
	<field name="MDL" match="HL-2030"/>
204
      </deviceid>
205
      <blacklist>
206
	<drivertype>gutenprint*</drivertype>
207
      </blacklist>
208
    </printer>
209
 
210
    <!-- Ricoh family printers should use manufacturer's own PPD
211
         files, with PostScript versions in preference to PXL versions
212
	 (bug #550315 comment #8)
213
         -->
214
    <printer>
215
      <make-and-model
216
	  match="(Ricoh|Lanier|Gestetner|InfoPrint|Infotech|Savin|NRG) "/>
217
      <deviceid>
218
	<field name="MFG"
219
	       match="(Ricoh|Lanier|Gestetner|InfoPrint|Infotech|Savin|NRG)"/>
220
      </deviceid>
221
      <drivers>
222
	<drivertype>manufacturer-ricoh-ps</drivertype>
223
	<drivertype>manufacturer-ricoh-pxl</drivertype>
224
      </drivers>
225
    </printer>
226
 
227
    <!-- Use hpcups instead of PostScript with HP LaserJet 12xx/13xx
228
	 as they do not come with enough memory for
229
	 PostScript (Ubuntu bug #872991). -->
230
    <printer>
231
      <make-and-model
232
	  match="(Hewlett-Packard|HP) LaserJet 1[23]\d\d.*"/>
233
      <drivers>
234
	<drivertype>hpcups</drivertype>
235
      </drivers>
236
      <avoid>
237
	<drivertype>*-postscript</drivertype>
238
	<drivertype>manufacturer*</drivertype>
239
      </avoid>
240
    </printer>
241
 
242
    <!-- HP LaserJet 2100 series: avoid using PostScript for these
243
         models because they only understand PS level 2 (bug
244
         #710231). -->
245
    <printer>
246
      <make-and-model
247
	  match="(Hewlett-Packard|HP) LaserJet 2100 Series"/>
248
      <deviceid>
249
	<field name="MFG" match="(HP|Hewlett-Packard)"/>
250
	<field name="MDL" match="HP LaserJet 2100 Series"/>
251
      </deviceid>
252
      <avoid>
253
	<drivertype>*-postscript</drivertype>
254
      </avoid>
255
    </printer>
256
 
257
    <!-- The gutenprint driver for the Xerox 6250DP is black and
258
         white, so prefer other drivers (LP #669152) -->
259
    <printer>
260
      <make-and-model match="Xerox 6250DP"/>
261
      <deviceid>
262
	<field name="MFG" match="Xerox"/>
263
	<field name="MDL" match="6250DP"/>
264
      </deviceid>
265
      <avoid>
266
	<drivertype>gutenprint*</drivertype>
267
      </avoid>
268
    </printer>
269
 
270
    <!--
271
      We need driver for CLP-310 but there are other CLP-315 which are preferred because their drivertype is higher
272
      in the preferenceorder.
273
      Driver for CLP-310 provides drivertype "splix" and "foomatic" so others which are higher in preferenceorder
274
      must be placed here.
275
    -->
276
    <printer>
277
      <make-and-model match="Samsung CLP 310" />
278
      <deviceid>
279
        <field name="MFG" match="Samsung" />
280
        <field name="MDL" match="CLP-310 Series" />
281
      </deviceid>
282
      <avoid>
283
        <drivertype>manufacturer-cmd</drivertype>
284
        <drivertype>foomatic-recommended-nonpostscript</drivertype>
285
        <drivertype>manufacturer*</drivertype>
286
        <drivertype>pdf</drivertype>
287
        <drivertype>foomatic-recommended-postscript</drivertype>
288
        <drivertype>hpcups</drivertype>
289
        <drivertype>foomatic-postscript</drivertype>
290
        <drivertype>gutenprint-simplified</drivertype>
291
        <drivertype>gutenprint-expert</drivertype>
292
        <drivertype>foomatic-gutenprint</drivertype>
293
      </avoid>
294
    </printer>
295
 
296
    <printer>
297
      <!-- For all printers -->
298
      <drivers>
299
	<drivertype>driverless</drivertype>
300
	<drivertype>manufacturer-cmd</drivertype>
301
	<drivertype>foomatic-recommended-nonpostscript</drivertype>
302
	<drivertype>manufacturer*</drivertype>
303
	<drivertype>pdf</drivertype>
304
	<drivertype>foomatic-recommended-postscript</drivertype>
305
	<drivertype>hpcups</drivertype>
306
	<drivertype>splix</drivertype>
307
	<drivertype>foomatic-postscript</drivertype>
308
      </drivers>
309
    </printer>
310
 
311
    <printer>
312
      <!-- For all printers (continued) -->
313
      <drivers>
314
	<drivertype>gutenprint-simplified</drivertype>
315
	<drivertype>gutenprint-expert</drivertype>
316
	<drivertype>foomatic-gutenprint</drivertype>
317
	<drivertype>foomatic</drivertype>
318
	<drivertype>cups</drivertype>
319
 
320
	<!-- Generic drivers listed last, in this order -->
321
	<drivertype>generic-postscript</drivertype>
322
	<drivertype>generic-foomatic-recommended</drivertype>
323
	<drivertype>generic-pcl6</drivertype>
324
	<drivertype>generic-pcl5c</drivertype>
325
	<drivertype>generic-pcl5e</drivertype>
326
	<drivertype>generic-pcl5</drivertype>
327
	<drivertype>generic-pcl</drivertype>
328
	<drivertype>generic-escp</drivertype>
329
	<drivertype>ghostscript</drivertype>
330
	<drivertype>generic</drivertype>
331
 
332
	<!-- HP's pre-hpcups driver, hpijs.  Low down the list as it
333
	     is known to handle landscape page orientations
334
	     incorrectly, e.g.
335
	     https://bugs.freedesktop.org/show_bug.cgi?id=44664 -->
336
	<drivertype>foomatic-recommended-hpijs</drivertype>
337
	<drivertype>hpijs</drivertype>
338
	<drivertype>foomatic-hpijs</drivertype>
339
 
340
	<!-- Last of all, 3rd party non-free drivers -->
341
	<drivertype>hpcups-plugin</drivertype>
342
	<drivertype>hpijs-plugin</drivertype>
343
	<drivertype>turboprint</drivertype>
344
      </drivers>
345
    </printer>
346
  </preferenceorder>
347
</preferreddrivers>