Code sync
[external/hplip.git] / packaging / large-sizes-borderless-on-photosmart-pro-b-series.dpatch
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## large-sizes-borderless-on-photosmart-pro-b-series.dpatch by  <till.kamppeter@gmail.com>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: No description.
6
7 @DPATCH@
8 diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.5~/prnt/drv/hpcups.drv.in hplip-3.11.5/prnt/drv/hpcups.drv.in
9 --- hplip-3.11.5~/prnt/drv/hpcups.drv.in        2011-05-26 14:44:32.682328934 +0200
10 +++ hplip-3.11.5/prnt/drv/hpcups.drv.in 2011-05-26 14:44:32.992328880 +0200
11 @@ -3604,25 +3604,6 @@
12        Attribute "Product" "" "(HP Officejet k7108 Printer)"
13      }
14      {
15 -      ModelName "HP Photosmart Pro b8300 Series"
16 -      Attribute "NickName" "" "HP Photosmart Pro b8300 Series, $Version"
17 -      Attribute "ShortNickName" "" "HP Photosmart Pro b8300 Series"
18 -      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart pro b8300 series;DES:photosmart pro b8300 series;"
19 -      PCFileName "hp-photosmart_pro_b8300_series.ppd"
20 -      Attribute "Product" "" "(HP Photosmart Pro b8330 Printer)"
21 -      Attribute "Product" "" "(HP Photosmart Pro b8338 Printer)"
22 -      Attribute "Product" "" "(HP Photosmart Pro b8350 Printer)"
23 -      Attribute "Product" "" "(HP Photosmart Pro b8353 Printer)"
24 -    }
25 -    {
26 -      ModelName "HP Photosmart Pro b8800 Series"
27 -      Attribute "NickName" "" "HP Photosmart Pro b8800 Series, $Version"
28 -      Attribute "ShortNickName" "" "HP Photosmart Pro b8800 Series"
29 -      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart pro b8800 series;DES:photosmart pro b8800 series;"
30 -      PCFileName "hp-photosmart_pro_b8800_series.ppd"
31 -      Attribute "Product" "" "(HP Photosmart Pro b8850 Printer)"
32 -    }
33 -    {
34        ModelName "HP Deskjet 9600"
35        Attribute "NickName" "" "HP Deskjet 9600, $Version"
36        Attribute "ShortNickName" "" "HP Deskjet 9600"
37 @@ -6946,6 +6927,25 @@
38  
39      // <%Python:LargeFormatA3:NoAutoDuplex%>
40      {
41 +      ModelName "HP Photosmart Pro b8300 Series"
42 +      Attribute "NickName" "" "HP Photosmart Pro b8300 Series, $Version"
43 +      Attribute "ShortNickName" "" "HP Photosmart Pro b8300 Series"
44 +      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart pro b8300 series;DES:photosmart pro b8300 series;"
45 +      PCFileName "hp-photosmart_pro_b8300_series.ppd"
46 +      Attribute "Product" "" "(HP Photosmart Pro b8330 Printer)"
47 +      Attribute "Product" "" "(HP Photosmart Pro b8338 Printer)"
48 +      Attribute "Product" "" "(HP Photosmart Pro b8350 Printer)"
49 +      Attribute "Product" "" "(HP Photosmart Pro b8353 Printer)"
50 +    }
51 +    {
52 +      ModelName "HP Photosmart Pro b8800 Series"
53 +      Attribute "NickName" "" "HP Photosmart Pro b8800 Series, $Version"
54 +      Attribute "ShortNickName" "" "HP Photosmart Pro b8800 Series"
55 +      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart pro b8800 series;DES:photosmart pro b8800 series;"
56 +      PCFileName "hp-photosmart_pro_b8800_series.ppd"
57 +      Attribute "Product" "" "(HP Photosmart Pro b8850 Printer)"
58 +    }
59 +    {
60        ModelName "HP Photosmart b8500 Series"
61        Attribute "NickName" "" "HP Photosmart b8500 Series, $Version"
62        Attribute "ShortNickName" "" "HP Photosmart b8500 Series"
63 diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' hplip-3.11.5~/prnt/drv/hpijs.drv.in hplip-3.11.5/prnt/drv/hpijs.drv.in
64 --- hplip-3.11.5~/prnt/drv/hpijs.drv.in 2011-05-26 14:44:32.712328932 +0200
65 +++ hplip-3.11.5/prnt/drv/hpijs.drv.in  2011-05-26 14:46:38.472309672 +0200
66 @@ -3714,25 +3714,6 @@
67        Attribute "Product" "" "(HP Officejet k7108 Printer)"
68      }
69      {
70 -      ModelName "HP Photosmart Pro b8300 Series hpijs"
71 -      Attribute "NickName" "" "HP Photosmart Pro b8300 Series hpijs, $Version"
72 -      Attribute "ShortNickName" "" "HP PS Pro b8300 Series hpijs"
73 -      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart pro b8300 series;DES:photosmart pro b8300 series;"
74 -      PCFileName "hp-photosmart_pro_b8300_series-hpijs.ppd"
75 -      Attribute "Product" "" "(HP Photosmart Pro b8330 Printer)"
76 -      Attribute "Product" "" "(HP Photosmart Pro b8338 Printer)"
77 -      Attribute "Product" "" "(HP Photosmart Pro b8350 Printer)"
78 -      Attribute "Product" "" "(HP Photosmart Pro b8353 Printer)"
79 -    }
80 -    {
81 -      ModelName "HP Photosmart Pro b8800 Series hpijs"
82 -      Attribute "NickName" "" "HP Photosmart Pro b8800 Series hpijs, $Version"
83 -      Attribute "ShortNickName" "" "HP PS Pro b8800 Series hpijs"
84 -      Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart pro b8800 series;DES:photosmart pro b8800 series;"
85 -      PCFileName "hp-photosmart_pro_b8800_series-hpijs.ppd"
86 -      Attribute "Product" "" "(HP Photosmart Pro b8850 Printer)"
87 -    }
88 -    {
89        ModelName "HP Deskjet 9600 hpijs"
90        Attribute "NickName" "" "HP Deskjet 9600 hpijs, $Version"
91        Attribute "ShortNickName" "" "HP Deskjet 9600 hpijs"
92 @@ -14746,6 +14727,25 @@
93      CustomMedia "A3/A3" 842.00 1190.00 18.00 36.00 18.00 9.00 "%% FoomaticRIPOptionSetting: PageSize=A3" "%% FoomaticRIPOptionSetting: PageSize=A3"
94    // <%Python:LargeFormatA3:NoAutoDuplex%>
95    {
96 +    ModelName "HP Photosmart Pro b8300 Series hpijs"
97 +    Attribute "NickName" "" "HP Photosmart Pro b8300 Series hpijs, $Version"
98 +    Attribute "ShortNickName" "" "HP PS Pro b8300 Series hpijs"
99 +    Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart pro b8300 series;DES:photosmart pro b8300 series;"
100 +    PCFileName "hp-photosmart_pro_b8300_series-hpijs.ppd"
101 +    Attribute "Product" "" "(HP Photosmart Pro b8330 Printer)"
102 +    Attribute "Product" "" "(HP Photosmart Pro b8338 Printer)"
103 +    Attribute "Product" "" "(HP Photosmart Pro b8350 Printer)"
104 +    Attribute "Product" "" "(HP Photosmart Pro b8353 Printer)"
105 +  }
106 +  {
107 +    ModelName "HP Photosmart Pro b8800 Series hpijs"
108 +    Attribute "NickName" "" "HP Photosmart Pro b8800 Series hpijs, $Version"
109 +    Attribute "ShortNickName" "" "HP PS Pro b8800 Series hpijs"
110 +    Attribute "1284DeviceID" "" "MFG:HP;MDL:photosmart pro b8800 series;DES:photosmart pro b8800 series;"
111 +    PCFileName "hp-photosmart_pro_b8800_series-hpijs.ppd"
112 +    Attribute "Product" "" "(HP Photosmart Pro b8850 Printer)"
113 +  }
114 +  {
115      ModelName "HP Photosmart b8500 Series hpijs"
116      Attribute "NickName" "" "HP Photosmart b8500 Series hpijs, $Version"
117      Attribute "ShortNickName" "" "HP PS b8500 Series hpijs"