]> git.ipfire.org Git - thirdparty/cups.git/blob - cups/api-httpipp.shtml
Load cups into easysw/current.
[thirdparty/cups.git] / cups / api-httpipp.shtml
1 <!--
2 "$Id$"
3
4 HTTP and IPP API introduction for the Common UNIX Printing System (CUPS).
5
6 Copyright 1997-2005 by Easy Software Products.
7
8 These coded instructions, statements, and computer programs are the
9 property of Easy Software Products and are protected by Federal
10 copyright law. Distribution and use rights are outlined in the file
11 "LICENSE.txt" which should have been included with this file. If this
12 file is missing or damaged please contact Easy Software Products
13 at:
14
15 Attn: CUPS Licensing Information
16 Easy Software Products
17 44141 Airport View Drive, Suite 204
18 Hollywood, Maryland 20636 USA
19
20 Voice: (301) 373-9600
21 EMail: cups-info@cups.org
22 WWW: http://www.cups.org
23 -->
24
25 <h2 class='title'>Introduction</h2>
26
27 <p>The CUPS HTTP and IPP APIs provide...</p>
28
29 <h2 class='title'>General Usage</h2>
30
31 <p>The <var>&lt;cups/cups.h&gt;</var> header file must be included to
32 use the HTTP and IPP functions.</p>
33
34 <p>Programs using these functions must be linked to the CUPS
35 library: <var>libcups.a</var>, <var>libcups.so.2</var>,
36 <var>libcups.2.dylib</var>, <var>libcups_s.a</var>, or
37 <var>libcups2.lib</var> depending on the platform. The following
38 command compiles <var>myprogram.c</var> using GCC and the CUPS
39 library:</p>
40
41 <pre class='command'>
42 <kbd>gcc -o myprogram myprogram.c -lcups</kbd>
43 </pre>
44
45 <h2 class='title'>Compatibility</h2>
46
47 <p>Unless otherwise specified, the HTTP and IPP API functions
48 require CUPS 1.1 or higher.</p>