This chapter covers the basics of CUPS programming from header files to libraries. It also discusses the licenses that are used and how they may affect your software.
CUPS provides two libraries that can be used by applications and other programs to communicate with CUPS servers and manage CUPS data. You normally access these libraries from C or C++ code; however, they are also accessible from other languages such as Java, Perl, PHP, and Python by using the appropriate hooks.
The CUPS libraries are accessed in your source code by including certain header files. The final program is then linked with the CUPS library files to form a working program.
CUPS provides many header files ...