1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## remove-duplicate-entry-for-cp1700-in-drv-files.dpatch by <till.kamppeter@gmail.com>
4 ## All lines beginning with `## DP:' are a description of the patch.
8 diff -urNad hplip-3.10.2~/prnt/drv/hpcups.drv.in hplip-3.10.2/prnt/drv/hpcups.drv.in
9 --- hplip-3.10.2~/prnt/drv/hpcups.drv.in 2010-04-11 09:58:07.000000000 +0200
10 +++ hplip-3.10.2/prnt/drv/hpcups.drv.in 2010-04-11 10:01:29.285465160 +0200
11 @@ -1626,14 +1626,6 @@
12 Attribute "Product" "" "(HP Photosmart 1315 Printer)"
15 - ModelName "HP Color Inkjet cp1700"
16 - Attribute "NickName" "" "HP Color Inkjet cp1700, $Version"
17 - Attribute "ShortNickName" "" "HP Color Inkjet cp1700"
18 - Attribute "1284DeviceID" "" "MFG:HP;MDL:hp color inkjet cp1700;DES:hp color inkjet cp1700;"
19 - PCFileName "hp-color_inkjet_cp1700.ppd"
20 - Attribute "Product" "" "(HP Color Inkjet cp1700 Printer)"
23 ModelName "HP PSC 2100 Series"
24 Attribute "NickName" "" "HP PSC 2100 Series, $Version"
25 Attribute "ShortNickName" "" "HP PSC 2100 Series"
26 @@ -1741,11 +1733,11 @@
28 // <%DJ9xxVIP:LargeFormatSuperB%>
30 - ModelName "HP Color Inkjet Printer cp1700"
31 - Attribute "NickName" "" "HP Color Inkjet Printer cp1700, $Version"
32 - Attribute "ShortNickName" "" "HP Color Inkjet Printer cp1700"
33 - Attribute "1284DeviceID" "" "MFG:HP;MDL:color inkjet printer cp1700;DES:color inkjet printer cp1700;"
34 - PCFileName "hp-color_inkjet_printer_cp1700.ppd"
35 + ModelName "HP Color Inkjet cp1700"
36 + Attribute "NickName" "" "HP Color Inkjet cp1700, $Version"
37 + Attribute "ShortNickName" "" "HP Color Inkjet cp1700"
38 + Attribute "1284DeviceID" "" "MFG:HP;MDL:color inkjet cp1700;DES:color inkjet cp1700;"
39 + PCFileName "hp-color_inkjet_cp1700.ppd"
40 Attribute "Product" "" "(HP Color Inkjet cp1700 Printer)"
41 Attribute "Product" "" "(HP Color Inkjet cp1700ps Printer)"
42 Attribute "Product" "" "(HP Color Inkjet cp1700d Printer)"
43 diff -urNad hplip-3.10.2~/prnt/drv/hpijs.drv.in hplip-3.10.2/prnt/drv/hpijs.drv.in
44 --- hplip-3.10.2~/prnt/drv/hpijs.drv.in 2010-04-11 09:58:07.000000000 +0200
45 +++ hplip-3.10.2/prnt/drv/hpijs.drv.in 2010-04-11 10:00:39.616713799 +0200
46 @@ -1744,14 +1744,6 @@
47 Attribute "Product" "" "(HP Photosmart 1315 Printer)"
50 - ModelName "HP Color Inkjet cp1700 hpijs"
51 - Attribute "NickName" "" "HP Color Inkjet cp1700 hpijs, $Version"
52 - Attribute "ShortNickName" "" "HP Color Inkjet cp1700 hpijs"
53 - Attribute "1284DeviceID" "" "MFG:HP;MDL:hp color inkjet cp1700;DES:hp color inkjet cp1700;"
54 - PCFileName "hp-color_inkjet_cp1700-hpijs.ppd"
55 - Attribute "Product" "" "(HP Color Inkjet cp1700 Printer)"
58 ModelName "HP PSC 2100 Series hpijs"
59 Attribute "NickName" "" "HP PSC 2100 Series hpijs, $Version"
60 Attribute "ShortNickName" "" "HP PSC 2100 Series hpijs"
61 @@ -1833,11 +1825,11 @@
62 CustomMedia "A3/A3" 842.00 1190.00 18.00 36.00 18.00 9.00 "%% FoomaticRIPOptionSetting: PageSize=A3" "%% FoomaticRIPOptionSetting: PageSize=A3"
63 // <%DJ9xxVIP:LargeFormatSuperB%>
65 - ModelName "HP Color Inkjet Printer cp1700 hpijs"
66 - Attribute "NickName" "" "HP Color Inkjet Printer cp1700 hpijs, $Version"
67 + ModelName "HP Color Inkjet cp1700 hpijs"
68 + Attribute "NickName" "" "HP Color Inkjet cp1700 hpijs, $Version"
69 Attribute "ShortNickName" "" "HP cp1700 hpijs"
70 - Attribute "1284DeviceID" "" "MFG:HP;MDL:color inkjet printer cp1700;DES:color inkjet printer cp1700;"
71 - PCFileName "hp-color_inkjet_printer_cp1700-hpijs.ppd"
72 + Attribute "1284DeviceID" "" "MFG:HP;MDL:color inkjet cp1700;DES:color inkjet cp1700;"
73 + PCFileName "hp-color_inkjet_cp1700-hpijs.ppd"
74 Attribute "Product" "" "(HP Color Inkjet cp1700 Printer)"
75 Attribute "Product" "" "(HP Color Inkjet cp1700ps Printer)"
76 Attribute "Product" "" "(HP Color Inkjet cp1700d Printer)"