Main Page | Data Structures | File List | Globals

include/ipp_constants.h File Reference

Go to the source code of this file.

Defines

#define IPP_TAG_ZERO   0x00 /** reserved */
#define IPP_TAG_OPERATION   0x01 /** operation-attributes-tag */
#define IPP_TAG_JOB   0x02 /** job-attributes-tag */
#define IPP_TAG_END   0x03 /** end-of-attributes-tag */
#define IPP_TAG_PRINTER   0x04 /** printer-attributes-tag */
#define IPP_TAG_UNSUPPORTED   0x05 /** unsupported-attributes-tag (missing from CUPS) */
#define IPP_TAG_UNSUPPORTED_VALUE   0x10 /** unsupported */
#define IPP_TAG_DEFAULT   0x11 /** reserved for future 'default' */
#define IPP_TAG_UNKNOWN   0x12 /** unknown */
#define IPP_TAG_NOVALUE   0x13 /** no-value */
#define IPP_TAG_INTEGER   0x21 /** integer */
#define IPP_TAG_BOOLEAN   0x22 /** boolean */
#define IPP_TAG_ENUM   0x23 /** enum */
#define IPP_TAG_STRING   0x30 /** octetString with an unspecified format */
#define IPP_TAG_DATE   0x31 /** dateTime */
#define IPP_TAG_RESOLUTION   0x32 /** resolution */
#define IPP_TAG_RANGE   0x33 /** rangeOfInteger */
#define IPP_TAG_COLLECTION   0x34 /** reserved for a collection (in the future) */
#define IPP_TAG_TEXTLANG   0x35 /** textWithLangauge */
#define IPP_TAG_NAMELANG   0x36 /** nameWithLanguage */
#define IPP_TAG_TEXT   0x41 /** textWithoutLanguage */
#define IPP_TAG_NAME   0x42 /** nameWithoutLanguage */
#define IPP_TAG_KEYWORD   0x44 /** keyword */
#define IPP_TAG_URI   0x45 /** uri */
#define IPP_TAG_URISCHEME   0x46 /** urischeme */
#define IPP_TAG_CHARSET   0x47 /** charset */
#define IPP_TAG_LANGUAGE   0x48 /** naturalLanguage */
#define IPP_TAG_MIMETYPE   0x49 /** mimeMediaType */
#define IPP_PRINT_JOB   0x0002
#define IPP_PRINT_URI   0x0003
#define IPP_VALIDATE_JOB   0x0004
#define IPP_CREATE_JOB   0x0005
#define IPP_SEND_DOCUMENT   0x0006
#define IPP_SEND_URI   0x0007
#define IPP_CANCEL_JOB   0x0008
#define IPP_GET_JOB_ATTRIBUTES   0x0009
#define IPP_GET_JOBS   0x000a
#define IPP_GET_PRINTER_ATTRIBUTES   0x000b
#define IPP_HOLD_JOB   0x000c
#define IPP_RELEASE_JOB   0x000d
#define IPP_RESTART_JOB   0x000e
#define IPP_PAUSE_PRINTER   0x0010
#define IPP_RESUME_PRINTER   0x0011
#define IPP_PURGE_JOBS   0x0012
#define IPP_SET_PRINTER_ATTRIBUTES   0x0013
#define IPP_SET_JOB_ATTRIBUTES   0x0014
#define IPP_GET_PRINTER_SUPPORTED_VALUES   0x0015
#define CUPS_GET_DEFAULT   0x4001
#define CUPS_GET_PRINTERS   0x4002
#define CUPS_ADD_PRINTER   0x4003
#define CUPS_DELETE_PRINTER   0x4004
#define CUPS_GET_CLASSES   0x4005
#define CUPS_ADD_CLASS   0x4006
#define CUPS_DELETE_CLASS   0x4007
#define CUPS_ACCEPT_JOBS   0x4008
#define CUPS_REJECT_JOBS   0x4009
#define CUPS_SET_DEFAULT   0x400a
#define CUPS_GET_DEVICES   0x400b
#define CUPS_GET_PPDS   0x400c
#define CUPS_MOVE_JOB   0x400d
#define IPP_OK   0x0000


Detailed Description

These IPP constant names are from the CUPS documentation. The values are from RFC 2565. The RFC 2565 names are noted in the comments.

The structures too are intentionaly similiar to those used by CUPS. This is to make the code easier to understand by those who are already programming using the CUPS API. It also saved me the trouble of designing that part of the API. :-)


Generated on Fri Feb 20 15:17:52 2004 for PPR Libraries by doxygen 1.3.5