/etc/cupshelpers/preferreddrivers.xml is in python-cupshelpers 1.3.8+20120201-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 | <?xml version="1.0" encoding="UTF-8"?>
<preferreddrivers>
<drivertypes>
<!-- GENERIC DRIVERS -->
<drivertype name="generic-foomatic-recommended">
<ppdname match="(foomatic(-db-compressed-ppds)?|ijsgutenprint.*):"/>
<deviceid>
<field name="DRV" match=".*,?R1"/>
</deviceid>
<fit>
generic
</fit>
</drivertype>
<drivertype name="generic-escp">
<ppdname match="(foomatic(-db-compressed-ppds)?|ijsgutenprint.*):Generic-ESC_P"/>
<fit>
generic
none
</fit>
</drivertype>
<drivertype name="generic-escp">
<ppdname match="drv:///sample.drv/epson(9|24).ppd"/>
<fit>
generic
none
</fit>
</drivertype>
<drivertype name="generic-postscript">
<attribute name="ppd-make-and-model"
match="Generic PostScript Printer"/>
<fit>
generic
none
</fit>
</drivertype>
<drivertype name="generic-pcl6">
<attribute name="ppd-make-and-model"
match="Generic PCL 6 Printer"/>
<fit>
generic
none
</fit>
</drivertype>
<drivertype name="generic-pcl5e">
<attribute name="ppd-make-and-model"
match="Generic PCL 5e Printer"/>
<fit>
generic
none
</fit>
</drivertype>
<drivertype name="generic-pcl5">
<attribute name="ppd-make-and-model"
match="Generic PCL 5 Printer"/>
<fit>
generic
none
</fit>
</drivertype>
<drivertype name="generic-pcl">
<attribute name="ppd-make-and-model"
match="Generic PCL Laser Printer"/>
<fit>
generic
none
</fit>
</drivertype>
<drivertype name="generic">
<fit>
generic
none
</fit>
</drivertype>
<!-- END OF GENERIC DRIVERS -->
<!-- now fit is either exact-cmd, exact, or close -->
<drivertype name="cups">
<ppdname match="drv:///sample.drv/"/>
</drivertype>
<drivertype name="ghostscript">
<attribute name="ppd-product" match=".*Ghostscript"/>
</drivertype>
<drivertype name="gutenprint-simplified">
<ppdname match="gutenprint.*:.*/simple|.*-gutenprint.*\.sim"/>
</drivertype>
<drivertype name="gutenprint-expert">
<ppdname match="gutenprint.*:|.*-gutenprint"/>
</drivertype>
<drivertype name="foomatic-recommended-hpijs">
<attribute name="ppd-make-and-model" match=".* Foomatic/hpijs"/>
<deviceid>
<field name="DRV" match=".*,?R1"/>
</deviceid>
</drivertype>
<drivertype name="foomatic-hpijs">
<attribute name="ppd-make-and-model" match=".* Foomatic/hpijs"/>
</drivertype>
<drivertype name="foomatic-recommended-postscript">
<ppdname match="foomatic(-db-compressed-ppds)?:"/>
<attribute name="ppd-make-and-model" match=".*Postscript"/>
<deviceid>
<field name="DRV" match=".*,?R1"/>
</deviceid>
</drivertype>
<drivertype name="foomatic-postscript">
<ppdname match="foomatic(-db-compressed-ppds)?:.*-Postscript"/>
</drivertype>
<drivertype name="foomatic-recommended-nonpostscript">
<ppdname match="(foomatic(-db-compressed-ppds)?|ijsgutenprint.*):"/>
<deviceid>
<field name="DRV" match=".*,?R1"/>
</deviceid>
</drivertype>
<drivertype name="foomatic-gutenprint">
<ppdname match="(foomatic(-db-compressed-ppds)?|ijsgutenprint.*):.*-gutenprint"/>
</drivertype>
<drivertype name="foomatic">
<ppdname match="(foomatic(-db-compressed-ppds)?|ijsgutenprint.*):"/>
</drivertype>
<drivertype name="hpcups-plugin">
<ppdname match="drv:///(hp/)?hpcups.drv/|.*-hpcups"/>
<attribute name="ppd-make-and-model" match=".* plugin"/>
</drivertype>
<drivertype name="hpcups">
<ppdname match="drv:///(hp/)?hpcups.drv/|.*-hpcups"/>
</drivertype>
<drivertype name="hpijs-plugin">
<ppdname match="drv:///(hp/)?hpijs.drv/|.*-hpijs"/>
<attribute name="ppd-make-and-model" match=".* plugin"/>
</drivertype>
<drivertype name="hpijs">
<ppdname match="drv:///(hp/)?hpijs.drv/|.*-hpijs"/>
</drivertype>
<drivertype name="splix">
<ppdname match=".*splix"/>
</drivertype>
<drivertype name="turboprint">
<ppdname match=".*turboprint"/>
</drivertype>
<drivertype name="manufacturer-ricoh-ps">
<ppdname match=".*/(Ricoh|Lanier|Gestetner|InfoPrint|Infotech|Savin|NRG)/PS/"/>
</drivertype>
<drivertype name="manufacturer-ricoh-pxl">
<ppdname match=".*/(Ricoh|Lanier|Gestetner|InfoPrint|Infotech|Savin|NRG)/PXL/"/>
</drivertype>
<drivertype name="manufacturer-cmd">
<fit>
exact-cmd
</fit>
</drivertype>
<drivertype name="pdf">
<attribute name="ppd-make-and-model"
match=".*\bpdf\b"/>
</drivertype>
<!-- Catch-all -->
<drivertype name="manufacturer"/>
</drivertypes>
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<!-- This is where the types are arranged into the preferred order -->
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
<preferenceorder>
<!-- gutenprint is no good on the Brother HL-2030 (bug #645993) -->
<printer>
<make-and-model match="Brother HL-2030"/>
<deviceid>
<field name="MFG" match="Brother"/>
<field name="MDL" match="HL-2030"/>
</deviceid>
<blacklist>
<drivertype>gutenprint*</drivertype>
</blacklist>
</printer>
<!-- Ricoh family printers should use manufacturer's own PPD
files, with PostScript versions in preference to PXL versions
(bug #550315 comment #8)
-->
<printer>
<make-and-model
match="(Ricoh|Lanier|Gestetner|InfoPrint|Infotech|Savin|NRG) "/>
<deviceid>
<field name="MFG"
match="(Ricoh|Lanier|Gestetner|InfoPrint|Infotech|Savin|NRG)"/>
</deviceid>
<drivers>
<drivertype>manufacturer-ricoh-ps</drivertype>
<drivertype>manufacturer-ricoh-pxl</drivertype>
</drivers>
</printer>
<printer>
<make-and-model
match="(Hewlett-Packard|HP) LaserJet 1[23]\d\d.*"/>
<drivers>
<drivertype>hpcups</drivertype>
</drivers>
<avoid>
<drivertype>*-postscript</drivertype>
<drivertype>manufacturer*</drivertype>
</avoid>
</printer>
<!-- HP LaserJet 2100 series: avoid using PostScript for these
models because they only understand PS level 2 (bug
#710231). -->
<printer>
<make-and-model
match="(Hewlett-Packard|HP) LaserJet 2100 Series"/>
<deviceid>
<field name="MFG" match="(HP|Hewlett-Packard)"/>
<field name="MDL" match="HP LaserJet 2100 Series"/>
</deviceid>
<avoid>
<drivertype>*-postscript</drivertype>
</avoid>
</printer>
<!-- The gutenprint driver for the Xerox 6250DP is black and
white, so prefer other drivers (LP #669152) -->
<printer>
<make-and-model match="Xerox 6250DP"/>
<deviceid>
<field name="MFG" match="Xerox"/>
<field name="MDL" match="6250DP"/>
</deviceid>
<avoid>
<drivertype>gutenprint*</drivertype>
</avoid>
</printer>
<printer>
<!-- For all printers -->
<drivers>
<drivertype>manufacturer-cmd</drivertype>
<drivertype>foomatic-recommended-hpijs</drivertype>
<drivertype>foomatic-recommended-nonpostscript</drivertype>
<drivertype>manufacturer*</drivertype>
<drivertype>pdf</drivertype>
<drivertype>foomatic-recommended-postscript</drivertype>
<drivertype>foomatic-postscript</drivertype>
<drivertype>hpcups</drivertype>
<drivertype>hpijs</drivertype>
</drivers>
</printer>
<printer>
<!-- Use hpijs on HP printers at this point (i.e. in preference
to gutenprint) -->
<make-and-model match="(HP|Hewlett-Packard) "/>
<deviceid>
<field name="MFG" match="HP|Hewlett-Packard"/>
</deviceid>
<drivers>
<drivertype>foomatic-hpijs</drivertype>
</drivers>
</printer>
<printer>
<!-- For all printers (continued) -->
<drivers>
<drivertype>splix</drivertype>
<drivertype>gutenprint-simplified</drivertype>
<drivertype>gutenprint-expert</drivertype>
<drivertype>foomatic-hpijs</drivertype>
<drivertype>foomatic-gutenprint</drivertype>
<drivertype>foomatic</drivertype>
<drivertype>cups</drivertype>
<!-- Generic drivers listed last, in this order -->
<drivertype>generic-postscript</drivertype>
<drivertype>generic-foomatic-recommended</drivertype>
<drivertype>generic-pcl6</drivertype>
<drivertype>generic-pcl5c</drivertype>
<drivertype>generic-pcl5e</drivertype>
<drivertype>generic-pcl5</drivertype>
<drivertype>generic-pcl</drivertype>
<drivertype>generic-escp</drivertype>
<drivertype>ghostscript</drivertype>
<drivertype>generic</drivertype>
<!-- Last of all, 3rd party non-free drivers -->
<drivertype>hpcups-plugin</drivertype>
<drivertype>hpijs-plugin</drivertype>
<drivertype>turboprint</drivertype>
</drivers>
</printer>
</preferenceorder>
</preferreddrivers>
|