File: api.html

package info (click to toggle)
cupsddk 1.2.3-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,488 kB
  • ctags: 1,125
  • sloc: ansic: 7,074; cpp: 5,423; makefile: 526; xml: 227; sh: 153
file content (38 lines) | stat: -rw-r--r-- 842 bytes parent folder | download
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
<HTML>
<BODY>

<DIV ALIGN='JUSTIFY'>

<H1 ALIGN="RIGHT"><A NAME="API">C - CUPS Driver API Reference</A></H1>

<P>This appendix provides a reference for the CUPS driver API included
with the CUPS DDK.</P>

<h2>Header File</h2>

<p>The CUPS driver API provides a single header file called
<var>driver.h</var>. You include it using the following
preprocessor command:</p>

<pre>
    #include &lt;cups/driver.h&gt;
</pre>

<h2>Library</h2>

<p>The CUPS driver API is provided in a single library called
<tt>cupsdriver</tt>. The driver API also depends upon the CUPS
imaging API and CUPS API libraries. A typical link command will
look like the following:</p>

<pre>
    <kbd>cc -o rastertomyprinter rastertomyprinter.o -lcupsdriver \
       -lcupsimage -lcups -lm <i>ENTER</i></kbd>
</pre>

<EMBED SRC="cupsdriver.html">

</DIV>

</BODY>
</HTML>