This file is indexed.

/usr/share/cups/drv/c2esp.drv is in printer-driver-c2esp 27~rc1-1.

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
//
//
//   Driver info file for  PPDs.
//   Version for all dithered filter
//
//   1 dec 2013: ShortNickName added to stop ppdc warnings. 
//   NickName and ShortNickName changed to ModelName to help Ubuntu auto identify printers.
//   It seems that the ShortNickName is used to build the database for system-config-printer?
//   But if there is no ShortNickName, NickName is used instead?
//   The first word of ShortNickName gets used for the maker in the database?
//   ppdc still gives warnings when short nickname is >31 chars (ESP41 and ESP61)
//   but it still builds the ppd files. I have not found a work around for this.

// Include necessary files...
#include <font.defs>
#include <media.defs>

// Common stuff for all drivers...
Attribute "cupsVersion" "" "1.4"
Attribute "FileSystem" "" "False"
Attribute "LandscapeOrientation" "" "Plus90"
Attribute "TTRasterizer" "" "Type42"

Copyright "Copyright 2011-2012 by Paul Newall"

Font *

Version "1.6"

// Kodak
{
  Manufacturer "Eastman Kodak Company" //was Eastman Kodak
  DriverType custom
  ManualCopies Yes
  ColorDevice Yes
  Throughput 8
  Attribute "cupsSNMPSupplies" "" "False" // hope to stop the "may not be connected" message
  VariablePaperSize Yes
  MinSize 36 36
  MaxSize 1080 86400

    Filter application/vnd.cups-raster 50 /usr/lib/cups/filter/c2esp
    Filter application/vnd.cups-command 50 /usr/lib/cups/filter/command2esp
    Attribute "cupsCommands" "" "Clean PrintSelfTestPage PrintAlignmentPage ReportLevels"
    ColorDevice Yes
    Attribute DefaultColorSpace "" "CMYK"
    HWMargins 3 3 3 3 //1mm all round

    option "MediaSize" PickOne AnySetup 30
    MediaSize Executive
    MediaSize Letter
    MediaSize Legal
    *MediaSize A4
    MediaSize A5
    MediaSize A6
    MediaSize 8x10
    MediaSize Photo4x6 
    //MediaSize 4x6 
    MediaSize EnvISOB5
    MediaSize EnvC5
    MediaSize EnvDL
    MediaSize Env10

    option "Resolution" PickOne AnySetup 20
//Resolution colorspace bits-per-color row-count row-feed row-step name
    Choice 300x1200dpi/300x1200 "<</HWResolution[300 1200]/cupsBitsPerColor 8>>setpagedevice"
    *Choice 600x1200dpi/600x1200 "<</HWResolution[600 1200]/cupsBitsPerColor 8>>setpagedevice"


//res/media dens gamma 3x3matrix 
//      input 
//      C M Y
// o C  1 0 0
// u M  0 1 0
// t Y  0 0 1

	ColorProfile 300x1200dpi/- 1.0 1.0
		1.0 0.0 0.0 
		-0.1 1.0 0.0 
		0.0 -0.3 1.0 

	ColorProfile 600x1200dpi/- 1.0 1.4 //gamma above 1.0 works for 600dpi
		1.0 -0.1 0.0 
		-0.1 1.0 0.0 
		0.0 -0.4 1.0 

// Plain mapping for calibration tests

//	ColorProfile 300x1200dpi/- 1.0 1.0 
//		1.0 0.0 0.0 
//		0.0 1.0 0.0 
//		0.0 0.0 1.0 

//	ColorProfile 600x1200dpi/- 1.0 1.7 //gamma 1.5 to 1.7 is good for dithered
//		1.0 0.0 0.0 
//		0.0 1.0 0.0 
//		0.0 0.0 1.0 

    Attribute cupsInkChannels "" "4"
    Attribute cupsInkLimit "" "2.0"
    Attribute cupsBlackGeneration "" "0.0 0.0"

    Attribute "marker-colors" "" "black magenta"

    option "ColorModel" PickOne AnySetup 10
//ColorModel name colorspace colororder compression

    *ColorModel RGB/Color rgb chunky 0
    ColorModel Gray/BlackAndWhite k chunky 0


//List of model names for reference

//"KODAK ESP 9200 Series AiO"
//"KODAK ESP 7200 Series AiO"
//"KODAK ESP Office 6100 Series AiO"
//"KODAK ESP Office 4100 Series AiO"
//"KODAK ESP 5200 Series AiO"
//"KODAK ESP 3200 Series AiO"
//"KODAK ESP 9 AiO"
//"KODAK ESP 7 AiO"
//"KODAK ESP 5 AiO"
//"KODAK ESP-3 AiO"
//"KODAK 5100 AiO"
//"KODAK 5300 AiO"
//"KODAK 5500 AiO"

 // Kodak ESP 9 duplex
  {
    ModelName "Kodak ESP 9 AiO"
    Attribute NickName "" "Kodak ESP 9 AiO" 
    Attribute ShortNickName "" "Kodak ESP 9 AiO"
    Attribute Product "" "(Kodak ESP 9 AiO)"
    Attribute 1284DeviceID "" "MFG:Eastman Kodak Company;MDL:KODAK ESP 9 AiO;CMD:OPL V1.00;CLS:PRINTER;DES:AIO;VER:1.00;"
    FileName "Kodak_ESP_9.ppd"
    PCFileName "KESP9.ppd"
    ModelNumber 9
    Duplex rotated
    InputSlot 0 MainTray
    InputSlot 1 PhotoTray
  }
 // Kodak ESP 7 duplex
  {
    ModelName "Kodak ESP 7 AiO"
    Attribute NickName "" "Kodak ESP 7 AiO" 
    Attribute ShortNickName "" "Kodak ESP 7 AiO"
    Attribute Product "" "(Kodak ESP 7 AiO)"
    Attribute 1284DeviceID "" "MFG:Eastman Kodak Company;MDL:KODAK ESP 7 AiO;CMD:OPL V1.00;CLS:PRINTER;DES:AIO;VER:1.00;"
    FileName "Kodak_ESP_7.ppd"
    PCFileName "KESP7.ppd"
    ModelNumber 7
    Duplex rotated
    InputSlot 0 MainTray
    InputSlot 1 PhotoTray
  }
 // Kodak ESP 5 duplex
  {
    ModelName "Kodak ESP 5 AiO"
    Attribute NickName "" "Kodak ESP 5 AiO" 
    Attribute ShortNickName "" "Kodak ESP 5 AiO"
    Attribute Product "" "(Kodak ESP 5 AiO)"
    Attribute 1284DeviceID "" "MFG:Eastman Kodak Company;MDL:KODAK ESP 5 AiO;CMD:OPL V1.00;CLS:PRINTER;DES:AIO;VER:1.00;"
    FileName "Kodak_ESP_5.ppd"
    PCFileName "KESP5.ppd"
    ModelNumber 5
    InputSlot 0 MainTray
  }
 // Kodak ESP 3
  {
    ModelName "Kodak ESP 3 AiO"
    Attribute NickName "" "Kodak ESP 3 AiO" 
    Attribute ShortNickName "" "Kodak ESP 3 AiO"
    Attribute Product "" "(Kodak ESP 3 AiO)"
    Attribute 1284DeviceID "" "MFG:Eastman Kodak Company;MDL:KODAK ESP-3 AiO;CMD:OPL V1.00;CLS:PRINTER;DES:AIO;VER:1.00;"
    FileName "Kodak_ESP_3.ppd"
    PCFileName "KESP3.ppd"
    ModelNumber 3
    InputSlot 0 MainTray
  }

 // Kodak ESP 3xxx Series without duplex
  {
    ModelName "Kodak ESP 3200 Series AiO"
    Attribute NickName "" "Kodak ESP 3200 Series AiO" 
    Attribute ShortNickName "" "Kodak ESP 3200 Series AiO"
    Attribute Product "" "(Kodak ESP 3200 Series AiO)"
    Attribute 1284DeviceID "" "MFG:Eastman Kodak Company;MDL:KODAK ESP 3200 Series AiO;CMD:OPL V1.00;CLS:PRINTER;DES:AIO;VER:1.00;"
    FileName "Kodak_ESP_32xx_Series.ppd"
    PCFileName "KESP32xx.ppd"
    ModelNumber 3250
  }

 // Kodak ESP 52xx Series without duplex
  {
    ModelName "Kodak ESP 5200 Series AiO"
    Attribute NickName "" "Kodak ESP 5200 Series AiO" 
    Attribute ShortNickName "" "Kodak ESP 5200 Series Aio"
    Attribute Product "" "(Kodak ESP 5200 Series AiO)"
    Attribute 1284DeviceID "" "MFG:Eastman Kodak Company;MDL:KODAK ESP 5200 Series AiO;CMD:OPL V1.00;CLS:PRINTER;DES:AIO;VER:1.00;"
    FileName "Kodak_ESP_52xx_Series.ppd"
    PCFileName "KESP52xx.ppd"
    ModelNumber 5250
  }

  // Kodak ESP 51xx Series optional duplex
  {
    ModelName "Kodak 5100 AiO"
    Attribute NickName "" "Kodak 5100 AiO" 
    Attribute ShortNickName "" "Kodak 5100 AiO"
    Attribute Product "" "(Kodak 5100 AiO)"
    Attribute 1284DeviceID "" "MFG:Eastman Kodak Company;MDL:KODAK 5100 AiO;CMD:OPL V1.00;CLS:PRINTER;DES:AIO;VER:1.00;"
    FileName "Kodak_ESP_51xx_Series.ppd"
    PCFileName "KESP51xx.ppd"
    ModelNumber 5100
    Duplex rotated
    InputSlot 0 MainTray
    InputSlot 1 PhotoTray
  }

  // Kodak ESP 53xx Series optional duplex
  {
    ModelName "Kodak 5300 AiO"
    Attribute NickName "" "Kodak 5300 AiO" 
    Attribute ShortNickName "" "Kodak 5300 AiO"
    Attribute Product "" "(Kodak 5300 AiO)"
    Attribute 1284DeviceID "" "MFG:Eastman Kodak Company;MDL:KODAK 5300 AiO;CMD:OPL V1.00;CLS:PRINTER;DES:AIO;VER:1.00;"
    FileName "Kodak_ESP_53xx_Series.ppd"
    PCFileName "KESP53xx.ppd"
    ModelNumber 5300
    Duplex rotated
    InputSlot 0 MainTray
    InputSlot 1 PhotoTray
  }
  // Kodak ESP 55xx Series with duplex
  {
    ModelName "Kodak 5500 AiO"
    Attribute NickName "" "Kodak 5500 AiO" 
    Attribute ShortNickName "" "Kodak 5500 AiO"
    Attribute Product "" "(Kodak 5500 AiO)"
    Attribute 1284DeviceID "" "MFG:Eastman Kodak Company;MDL:KODAK 5500 AiO;CMD:OPL V1.00;CLS:PRINTER;DES:AIO;VER:1.00;"
    FileName "Kodak_ESP_55xx_Series.ppd"
    PCFileName "KESP55xx.ppd"
    ModelNumber 5500
//    Duplex normal //reported that back side was upside down on 5500
//    Duplex flip //reported that back side was mirror image on 5500
    Duplex rotated
    InputSlot 0 MainTray
    InputSlot 1 PhotoTray
  }

  // Kodak ESP 41xx Series without duplex?
  {
    ModelName "Kodak ESP Office 4100 Series AiO"
    Attribute NickName "" "Kodak ESP Office 4100 Series AiO" 
    Attribute ShortNickName "" "Kodak ESP Office 4100 Series AiO" //more than 31 chars?
    Attribute Product "" "(Kodak ESP Office 4100 Series AiO)"
    Attribute 1284DeviceID "" "MFG:Eastman Kodak Company;MDL:KODAK ESP Office 4100 Series AiO;CMD:OPL V1.00;CLS:PRINTER;DES:AIO;VER:1.00;"
    FileName "Kodak_ESP_41xx_Series.ppd"
    PCFileName "KESP41xx.ppd"
    ModelNumber 4100
  }

  // Kodak ESP 61xx Series with duplex
  {
    ModelName "Kodak ESP Office 6100 Series AiO"
    Attribute NickName "" "Kodak ESP Office 6100 Series AiO" 
    Attribute ShortNickName "" "Kodak ESP Office 6100 Series AiO" //more than 31 chars?
    Attribute Product "" "(Kodak ESP Office 6100 Series AiO)"
    Attribute 1284DeviceID "" "MFG:Eastman Kodak Company;MDL:KODAK ESP Office 6100 Series AiO;CMD:OPL V1.00;CLS:PRINTER;DES:AIO;VER:1.00;"
    FileName "Kodak_ESP_61xx_Series.ppd"
    PCFileName "KESP61xx.ppd"
    ModelNumber 6150
    Duplex rotated
  }

  // Kodak ESP 72xx Series non-dithered/dithered with duplex and photo tray
  {
    ModelName "Kodak ESP 7200 Series AiO"
    Attribute NickName "" "Kodak ESP 7200 Series AiO" 
    Attribute ShortNickName "" "Kodak ESP 7200 Series AiO"
    Attribute Product "" "(Kodak ESP 7200 Series AiO)"
    Attribute 1284DeviceID "" "MFG:Eastman Kodak Company;MDL:KODAK ESP 7200 Series AiO;CMD:OPL V1.00;CLS:PRINTER;DES:AIO;VER:1.00;"
    FileName "Kodak_ESP_72xx_Series.ppd"
    PCFileName "KESP72xx.ppd"
    ModelNumber 7250
    Duplex rotated
    InputSlot 0 MainTray
    InputSlot 1 PhotoTray
  }

  // Kodak ESP 92xx Series non-dithered/dithered with duplex and photo tray
  {
    ModelName "Kodak ESP 9200 Series AiO"
    Attribute NickName "" "Kodak ESP 9200 Series AiO" 
    Attribute ShortNickName "" "Kodak ESP 9200 Series AiO"
    Attribute Product "" "(Kodak ESP 9200 Series AiO)"
    Attribute 1284DeviceID "" "MFG:Eastman Kodak Company;MDL:KODAK ESP 9200 Series AiO;CMD:OPL V1.00;CLS:PRINTER;DES:AIO;VER:1.00;"
    FileName "Kodak_ESP_92xx_Series.ppd"
    PCFileName "KESP92xx.ppd"
    ModelNumber 9250
    Duplex rotated
    InputSlot 0 MainTray
    InputSlot 1 PhotoTray
  }

}