Chapter 13Overview Of Cups Programming

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.

The Basics

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.

Header Files

CUPS provides many header files ...

Get Common UNIX Printing System now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.