1<HTML>
2<!-- SECTION: Getting Started -->
3<HEAD>
4	<TITLE>Apache License Version 2.0</TITLE>
5	<LINK REL="STYLESHEET" TYPE="text/css" HREF="../cups-printable.css">
6</HEAD>
7<BODY>
8
9<h1>Apache License</h1>
10
11<p>Version 2.0, January 2004<br></br>
12<a href="http://www.apache.org/licenses/">http://www.apache.org/licenses/</a> </p>
13
14<p>TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION</p>
15<p><strong><a name="definitions">1. Definitions</a></strong>.</p>
16<p>"License" shall mean the terms and conditions for use, reproduction, and
17distribution as defined by Sections 1 through 9 of this document.</p>
18<p>"Licensor" shall mean the copyright owner or entity authorized by the
19copyright owner that is granting the License.</p>
20<p>"Legal Entity" shall mean the union of the acting entity and all other
21entities that control, are controlled by, or are under common control with
22that entity. For the purposes of this definition, "control" means (i) the
23power, direct or indirect, to cause the direction or management of such
24entity, whether by contract or otherwise, or (ii) ownership of fifty
25percent (50%) or more of the outstanding shares, or (iii) beneficial
26ownership of such entity.</p>
27<p>"You" (or "Your") shall mean an individual or Legal Entity exercising
28permissions granted by this License.</p>
29<p>"Source" form shall mean the preferred form for making modifications,
30including but not limited to software source code, documentation source,
31and configuration files.</p>
32<p>"Object" form shall mean any form resulting from mechanical transformation
33or translation of a Source form, including but not limited to compiled
34object code, generated documentation, and conversions to other media types.</p>
35<p>"Work" shall mean the work of authorship, whether in Source or Object form,
36made available under the License, as indicated by a copyright notice that
37is included in or attached to the work (an example is provided in the
38Appendix below).</p>
39<p>"Derivative Works" shall mean any work, whether in Source or Object form,
40that is based on (or derived from) the Work and for which the editorial
41revisions, annotations, elaborations, or other modifications represent, as
42a whole, an original work of authorship. For the purposes of this License,
43Derivative Works shall not include works that remain separable from, or
44merely link (or bind by name) to the interfaces of, the Work and Derivative
45Works thereof.</p>
46<p>"Contribution" shall mean any work of authorship, including the original
47version of the Work and any modifications or additions to that Work or
48Derivative Works thereof, that is intentionally submitted to Licensor for
49inclusion in the Work by the copyright owner or by an individual or Legal
50Entity authorized to submit on behalf of the copyright owner. For the
51purposes of this definition, "submitted" means any form of electronic,
52verbal, or written communication sent to the Licensor or its
53representatives, including but not limited to communication on electronic
54mailing lists, source code control systems, and issue tracking systems that
55are managed by, or on behalf of, the Licensor for the purpose of discussing
56and improving the Work, but excluding communication that is conspicuously
57marked or otherwise designated in writing by the copyright owner as "Not a
58Contribution."</p>
59<p>"Contributor" shall mean Licensor and any individual or Legal Entity on
60behalf of whom a Contribution has been received by Licensor and
61subsequently incorporated within the Work.</p>
62<p><strong><a name="copyright">2. Grant of Copyright License</a></strong>. Subject to the
63terms and conditions of this License, each Contributor hereby grants to You
64a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
65copyright license to reproduce, prepare Derivative Works of, publicly
66display, publicly perform, sublicense, and distribute the Work and such
67Derivative Works in Source or Object form.</p>
68<p><strong><a name="patent">3. Grant of Patent License</a></strong>. Subject to the terms
69and conditions of this License, each Contributor hereby grants to You a
70perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
71(except as stated in this section) patent license to make, have made, use,
72offer to sell, sell, import, and otherwise transfer the Work, where such
73license applies only to those patent claims licensable by such Contributor
74that are necessarily infringed by their Contribution(s) alone or by
75combination of their Contribution(s) with the Work to which such
76Contribution(s) was submitted. If You institute patent litigation against
77any entity (including a cross-claim or counterclaim in a lawsuit) alleging
78that the Work or a Contribution incorporated within the Work constitutes
79direct or contributory patent infringement, then any patent licenses
80granted to You under this License for that Work shall terminate as of the
81date such litigation is filed.</p>
82<p><strong><a name="redistribution">4. Redistribution</a></strong>. You may reproduce and
83distribute copies of the Work or Derivative Works thereof in any medium,
84with or without modifications, and in Source or Object form, provided that
85You meet the following conditions:</p>
86<ol style="list-style: lower-latin;">
87<li>You must give any other recipients of the Work or Derivative Works a
88copy of this License; and</li>
89
90<li>You must cause any modified files to carry prominent notices stating
91that You changed the files; and</li>
92
93<li>You must retain, in the Source form of any Derivative Works that You
94distribute, all copyright, patent, trademark, and attribution notices from
95the Source form of the Work, excluding those notices that do not pertain to
96any part of the Derivative Works; and</li>
97
98<li>If the Work includes a "NOTICE" text file as part of its distribution,
99then any Derivative Works that You distribute must include a readable copy
100of the attribution notices contained within such NOTICE file, excluding
101those notices that do not pertain to any part of the Derivative Works, in
102at least one of the following places: within a NOTICE text file distributed
103as part of the Derivative Works; within the Source form or documentation,
104if provided along with the Derivative Works; or, within a display generated
105by the Derivative Works, if and wherever such third-party notices normally
106appear. The contents of the NOTICE file are for informational purposes only
107and do not modify the License. You may add Your own attribution notices
108within Derivative Works that You distribute, alongside or as an addendum to
109the NOTICE text from the Work, provided that such additional attribution
110notices cannot be construed as modifying the License.
111<br/>
112<br/>
113You may add Your own copyright statement to Your modifications and may
114provide additional or different license terms and conditions for use,
115reproduction, or distribution of Your modifications, or for any such
116Derivative Works as a whole, provided Your use, reproduction, and
117distribution of the Work otherwise complies with the conditions stated in
118this License.
119</li>
120
121</ol>
122
123<p><strong><a name="contributions">5. Submission of Contributions</a></strong>. Unless You
124explicitly state otherwise, any Contribution intentionally submitted for
125inclusion in the Work by You to the Licensor shall be under the terms and
126conditions of this License, without any additional terms or conditions.
127Notwithstanding the above, nothing herein shall supersede or modify the
128terms of any separate license agreement you may have executed with Licensor
129regarding such Contributions.</p>
130<p><strong><a name="trademarks">6. Trademarks</a></strong>. This License does not grant
131permission to use the trade names, trademarks, service marks, or product
132names of the Licensor, except as required for reasonable and customary use
133in describing the origin of the Work and reproducing the content of the
134NOTICE file.</p>
135<p><strong><a name="no-warranty">7. Disclaimer of Warranty</a></strong>. Unless required by
136applicable law or agreed to in writing, Licensor provides the Work (and
137each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT
138WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including,
139without limitation, any warranties or conditions of TITLE,
140NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You
141are solely responsible for determining the appropriateness of using or
142redistributing the Work and assume any risks associated with Your exercise
143of permissions under this License.</p>
144<p><strong><a name="no-liability">8. Limitation of Liability</a></strong>. In no event and
145under no legal theory, whether in tort (including negligence), contract, or
146otherwise, unless required by applicable law (such as deliberate and
147grossly negligent acts) or agreed to in writing, shall any Contributor be
148liable to You for damages, including any direct, indirect, special,
149incidental, or consequential damages of any character arising as a result
150of this License or out of the use or inability to use the Work (including
151but not limited to damages for loss of goodwill, work stoppage, computer
152failure or malfunction, or any and all other commercial damages or losses),
153even if such Contributor has been advised of the possibility of such
154damages.</p>
155<p><strong><a name="additional">9. Accepting Warranty or Additional Liability</a></strong>.
156While redistributing the Work or Derivative Works thereof, You may choose
157to offer, and charge a fee for, acceptance of support, warranty, indemnity,
158or other liability obligations and/or rights consistent with this License.
159However, in accepting such obligations, You may act only on Your own behalf
160and on Your sole responsibility, not on behalf of any other Contributor,
161and only if You agree to indemnify, defend, and hold each Contributor
162harmless for any liability incurred by, or claims asserted against, such
163Contributor by reason of your accepting any such warranty or additional
164liability.</p>
165<p>END OF TERMS AND CONDITIONS</p>
166<h2 id="apply">APPENDIX: How to apply the Apache License to your work</h2>
167<p>To apply the Apache License to your work, attach the following boilerplate
168notice, with the fields enclosed by brackets "[]" replaced with your own
169identifying information. (Don't include the brackets!) The text should be
170enclosed in the appropriate comment syntax for the file format. We also
171recommend that a file or class name and description of purpose be included
172on the same "printed page" as the copyright notice for easier
173identification within third-party archives.</p>
174
175<pre>Copyright [yyyy] [name of copyright owner]
176
177Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
178you may not use this file except in compliance with the License.
179You may obtain a copy of the License at
180
181    http://www.apache.org/licenses/LICENSE-2.0
182
183Unless required by applicable law or agreed to in writing, software
184distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
185WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
186See the License for the specific language governing permissions and
187limitations under the License.
188</pre>
189
190<h2>CUPS Exceptions to the Apache 2.0 License</h2>
191
192<p>As an exception, if, as a result of your compiling your source code, portions
193of this Software are embedded into an Object form of such source code, you
194may redistribute such embedded portions in such Object form without complying
195with the conditions of Sections 4(a), 4(b) and 4(d) of the License.</p>
196
197<p>In addition, if you combine or link compiled forms of this Software with
198software that is licensed under the GPLv2 ("Combined Software") and if a
199court of competent jurisdiction determines that the patent provision (Section
2003), the indemnity provision (Section 9) or other Section of the License
201conflicts with the conditions of the GPLv2, you may retroactively and
202prospectively choose to deem waived or otherwise exclude such Section(s) of
203the License, but only in their entirety and only with respect to the Combined
204Software.</p>
205
206</BODY>
207</HTML>
208