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

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.