| 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="dlw400"> |
| 167 |
<ppdname match="drv:///sample.drv/dymo.ppd" /> |
| 168 |
</drivertype> |
| 169 |
|
| 170 |
<drivertype name="turboprint"> |
| 171 |
<ppdname match=".*turboprint"/> |
| 172 |
</drivertype> |
| 173 |
|
| 174 |
<drivertype name="manufacturer-ricoh-ps"> |
| 175 |
<ppdname match=".*/(Ricoh|Lanier|Gestetner|InfoPrint|Infotech|Savin|NRG)/PS/"/> |
| 176 |
</drivertype> |
| 177 |
|
| 178 |
<drivertype name="manufacturer-ricoh-pxl"> |
| 179 |
<ppdname match=".*/(Ricoh|Lanier|Gestetner|InfoPrint|Infotech|Savin|NRG)/PXL/"/> |
| 180 |
</drivertype> |
| 181 |
|
| 182 |
<drivertype name="pdf"> |
| 183 |
<attribute name="ppd-make-and-model" |
| 184 |
match=".*\bpdf\b"/> |
| 185 |
</drivertype> |
| 186 |
|
| 187 |
<drivertype name="manufacturer-cmd"> |
| 188 |
<fit> |
| 189 |
exact-cmd |
| 190 |
</fit> |
| 191 |
</drivertype> |
| 192 |
|
| 193 |
<!-- Catch-all --> |
| 194 |
<drivertype name="manufacturer"/> |
| 195 |
</drivertypes> |
| 196 |
|
| 197 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
| 198 |
<!-- This is where the types are arranged into the preferred order --> |
| 199 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
| 200 |
|
| 201 |
<preferenceorder> |
| 202 |
<!-- gutenprint is no good on the Brother HL-2030 (bug #645993) --> |
| 203 |
<printer> |
| 204 |
<make-and-model match="Brother HL-2030"/> |
| 205 |
<deviceid> |
| 206 |
<field name="MFG" match="Brother"/> |
| 207 |
<field name="MDL" match="HL-2030"/> |
| 208 |
</deviceid> |
| 209 |
<blacklist> |
| 210 |
<drivertype>gutenprint*</drivertype> |
| 211 |
</blacklist> |
| 212 |
</printer> |
| 213 |
|
| 214 |
<!-- Ricoh family printers should use manufacturer's own PPD |
| 215 |
files, with PostScript versions in preference to PXL versions |
| 216 |
(bug #550315 comment #8) |
| 217 |
--> |
| 218 |
<printer> |
| 219 |
<make-and-model |
| 220 |
match="(Ricoh|Lanier|Gestetner|InfoPrint|Infotech|Savin|NRG) "/> |
| 221 |
<deviceid> |
| 222 |
<field name="MFG" |
| 223 |
match="(Ricoh|Lanier|Gestetner|InfoPrint|Infotech|Savin|NRG)"/> |
| 224 |
</deviceid> |
| 225 |
<drivers> |
| 226 |
<drivertype>manufacturer-ricoh-ps</drivertype> |
| 227 |
<drivertype>manufacturer-ricoh-pxl</drivertype> |
| 228 |
</drivers> |
| 229 |
</printer> |
| 230 |
|
| 231 |
<!-- Use hpcups instead of PostScript with HP LaserJet 12xx/13xx |
| 232 |
as they do not come with enough memory for |
| 233 |
PostScript (Ubuntu bug #872991). --> |
| 234 |
<printer> |
| 235 |
<make-and-model |
| 236 |
match="(Hewlett-Packard|HP) LaserJet 1[23]\d\d.*"/> |
| 237 |
<drivers> |
| 238 |
<drivertype>hpcups</drivertype> |
| 239 |
</drivers> |
| 240 |
<avoid> |
| 241 |
<drivertype>*-postscript</drivertype> |
| 242 |
<drivertype>manufacturer*</drivertype> |
| 243 |
</avoid> |
| 244 |
</printer> |
| 245 |
|
| 246 |
<!-- HP LaserJet 2100 series: avoid using PostScript for these |
| 247 |
models because they only understand PS level 2 (bug |
| 248 |
#710231). --> |
| 249 |
<printer> |
| 250 |
<make-and-model |
| 251 |
match="(Hewlett-Packard|HP) LaserJet 2100 Series"/> |
| 252 |
<deviceid> |
| 253 |
<field name="MFG" match="(HP|Hewlett-Packard)"/> |
| 254 |
<field name="MDL" match="HP LaserJet 2100 Series"/> |
| 255 |
</deviceid> |
| 256 |
<avoid> |
| 257 |
<drivertype>*-postscript</drivertype> |
| 258 |
</avoid> |
| 259 |
</printer> |
| 260 |
|
| 261 |
<!-- The gutenprint driver for the Xerox 6250DP is black and |
| 262 |
white, so prefer other drivers (LP #669152) --> |
| 263 |
<printer> |
| 264 |
<make-and-model match="Xerox 6250DP"/> |
| 265 |
<deviceid> |
| 266 |
<field name="MFG" match="Xerox"/> |
| 267 |
<field name="MDL" match="6250DP"/> |
| 268 |
</deviceid> |
| 269 |
<avoid> |
| 270 |
<drivertype>gutenprint*</drivertype> |
| 271 |
</avoid> |
| 272 |
</printer> |
| 273 |
|
| 274 |
<!-- |
| 275 |
We need driver for CLP-310 but there are other CLP-315 which are preferred because their drivertype is higher |
| 276 |
in the preferenceorder. |
| 277 |
Driver for CLP-310 provides drivertype "splix" and "foomatic" so others which are higher in preferenceorder |
| 278 |
must be placed here. |
| 279 |
--> |
| 280 |
<printer> |
| 281 |
<make-and-model match="Samsung CLP 310" /> |
| 282 |
<deviceid> |
| 283 |
<field name="MFG" match="Samsung" /> |
| 284 |
<field name="MDL" match="CLP-310 Series" /> |
| 285 |
</deviceid> |
| 286 |
<avoid> |
| 287 |
<drivertype>manufacturer-cmd</drivertype> |
| 288 |
<drivertype>foomatic-recommended-nonpostscript</drivertype> |
| 289 |
<drivertype>manufacturer*</drivertype> |
| 290 |
<drivertype>pdf</drivertype> |
| 291 |
<drivertype>foomatic-recommended-postscript</drivertype> |
| 292 |
<drivertype>hpcups</drivertype> |
| 293 |
<drivertype>foomatic-postscript</drivertype> |
| 294 |
<drivertype>gutenprint-simplified</drivertype> |
| 295 |
<drivertype>gutenprint-expert</drivertype> |
| 296 |
<drivertype>foomatic-gutenprint</drivertype> |
| 297 |
</avoid> |
| 298 |
</printer> |
| 299 |
|
| 300 |
<printer> |
| 301 |
<make-and-model match="DYMO LabelWriter 400" /> |
| 302 |
<deviceid> |
| 303 |
<field name="MFG" match="DYMO" /> |
| 304 |
<field name="MDL" match="LabelWriter 400" /> |
| 305 |
</deviceid> |
| 306 |
<drivers> |
| 307 |
<drivertype>dlw400</drivertype> |
| 308 |
</drivers> |
| 309 |
</printer> |
| 310 |
|
| 311 |
<printer> |
| 312 |
<!-- For all printers --> |
| 313 |
<drivers> |
| 314 |
<drivertype>driverless</drivertype> |
| 315 |
<drivertype>manufacturer-cmd</drivertype> |
| 316 |
<drivertype>foomatic-recommended-nonpostscript</drivertype> |
| 317 |
<drivertype>manufacturer*</drivertype> |
| 318 |
<drivertype>pdf</drivertype> |
| 319 |
<drivertype>foomatic-recommended-postscript</drivertype> |
| 320 |
<drivertype>hpcups</drivertype> |
| 321 |
<drivertype>splix</drivertype> |
| 322 |
<drivertype>foomatic-postscript</drivertype> |
| 323 |
</drivers> |
| 324 |
</printer> |
| 325 |
|
| 326 |
<printer> |
| 327 |
<!-- For all printers (continued) --> |
| 328 |
<drivers> |
| 329 |
<drivertype>gutenprint-simplified</drivertype> |
| 330 |
<drivertype>gutenprint-expert</drivertype> |
| 331 |
<drivertype>foomatic-gutenprint</drivertype> |
| 332 |
<drivertype>foomatic</drivertype> |
| 333 |
<drivertype>cups</drivertype> |
| 334 |
|
| 335 |
<!-- Generic drivers listed last, in this order --> |
| 336 |
<drivertype>generic-postscript</drivertype> |
| 337 |
<drivertype>generic-foomatic-recommended</drivertype> |
| 338 |
<drivertype>generic-pcl6</drivertype> |
| 339 |
<drivertype>generic-pcl5c</drivertype> |
| 340 |
<drivertype>generic-pcl5e</drivertype> |
| 341 |
<drivertype>generic-pcl5</drivertype> |
| 342 |
<drivertype>generic-pcl</drivertype> |
| 343 |
<drivertype>generic-escp</drivertype> |
| 344 |
<drivertype>ghostscript</drivertype> |
| 345 |
<drivertype>generic</drivertype> |
| 346 |
|
| 347 |
<!-- HP's pre-hpcups driver, hpijs. Low down the list as it |
| 348 |
is known to handle landscape page orientations |
| 349 |
incorrectly, e.g. |
| 350 |
https://bugs.freedesktop.org/show_bug.cgi?id=44664 --> |
| 351 |
<drivertype>foomatic-recommended-hpijs</drivertype> |
| 352 |
<drivertype>hpijs</drivertype> |
| 353 |
<drivertype>foomatic-hpijs</drivertype> |
| 354 |
|
| 355 |
<!-- Last of all, 3rd party non-free drivers --> |
| 356 |
<drivertype>hpcups-plugin</drivertype> |
| 357 |
<drivertype>hpijs-plugin</drivertype> |
| 358 |
<drivertype>turboprint</drivertype> |
| 359 |
</drivers> |
| 360 |
</printer> |
| 361 |
</preferenceorder> |
| 362 |
</preferreddrivers> |