O'Reilly logo

Common UNIX Printing System by Michael R. Sweet

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required