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

Appendix CCUPS Constants

This appendix lists the constants provided in the CUPS header files.

Character Encoding Constants

The character encoding constants are used by the CUPS API localization functions. The character encoding is read from the message file and stored as a constant of type cups_encoding_t in the cups_lang_t structure. Table C.1 lists the available character encodings.

Table C.1 CUPS character encoding constants

Image

CUPS API Version

The CUPS_VERSION constant defines the CUPS API version number as a floating point number:

MM.mmpp

CUPS version 1.1.8 is defined as 1.0108.

HTTP Constants

The HTTP constants are defined in the <cups/http.h> ...

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