00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00043
00044 #define IPP_TAG_ZERO 0x00
00045 #define IPP_TAG_OPERATION 0x01
00046 #define IPP_TAG_JOB 0x02
00047 #define IPP_TAG_END 0x03
00048 #define IPP_TAG_PRINTER 0x04
00049 #define IPP_TAG_UNSUPPORTED 0x05
00051
00052 #define IPP_TAG_UNSUPPORTED_VALUE 0x10
00053 #define IPP_TAG_DEFAULT 0x11
00054 #define IPP_TAG_UNKNOWN 0x12
00055 #define IPP_TAG_NOVALUE 0x13
00056 #define IPP_TAG_INTEGER 0x21
00057 #define IPP_TAG_BOOLEAN 0x22
00058 #define IPP_TAG_ENUM 0x23
00059 #define IPP_TAG_STRING 0x30
00060 #define IPP_TAG_DATE 0x31
00061 #define IPP_TAG_RESOLUTION 0x32
00062 #define IPP_TAG_RANGE 0x33
00063 #define IPP_TAG_COLLECTION 0x34
00064 #define IPP_TAG_TEXTLANG 0x35
00065 #define IPP_TAG_NAMELANG 0x36
00066 #define IPP_TAG_TEXT 0x41
00067 #define IPP_TAG_NAME 0x42
00068 #define IPP_TAG_KEYWORD 0x44
00069 #define IPP_TAG_URI 0x45
00070 #define IPP_TAG_URISCHEME 0x46
00071 #define IPP_TAG_CHARSET 0x47
00072 #define IPP_TAG_LANGUAGE 0x48
00073 #define IPP_TAG_MIMETYPE 0x49
00075
00076 #define IPP_PRINT_JOB 0x0002
00077 #define IPP_PRINT_URI 0x0003
00078 #define IPP_VALIDATE_JOB 0x0004
00079 #define IPP_CREATE_JOB 0x0005
00080 #define IPP_SEND_DOCUMENT 0x0006
00081 #define IPP_SEND_URI 0x0007
00082 #define IPP_CANCEL_JOB 0x0008
00083 #define IPP_GET_JOB_ATTRIBUTES 0x0009
00084 #define IPP_GET_JOBS 0x000a
00085 #define IPP_GET_PRINTER_ATTRIBUTES 0x000b
00086 #define IPP_HOLD_JOB 0x000c
00087 #define IPP_RELEASE_JOB 0x000d
00088 #define IPP_RESTART_JOB 0x000e
00089 #define IPP_PAUSE_PRINTER 0x0010
00090 #define IPP_RESUME_PRINTER 0x0011
00091 #define IPP_PURGE_JOBS 0x0012
00092 #define IPP_SET_PRINTER_ATTRIBUTES 0x0013
00093 #define IPP_SET_JOB_ATTRIBUTES 0x0014
00094 #define IPP_GET_PRINTER_SUPPORTED_VALUES 0x0015
00095
00096
00097 #define CUPS_GET_DEFAULT 0x4001
00098 #define CUPS_GET_PRINTERS 0x4002
00099 #define CUPS_ADD_PRINTER 0x4003
00100 #define CUPS_DELETE_PRINTER 0x4004
00101 #define CUPS_GET_CLASSES 0x4005
00102 #define CUPS_ADD_CLASS 0x4006
00103 #define CUPS_DELETE_CLASS 0x4007
00104 #define CUPS_ACCEPT_JOBS 0x4008
00105 #define CUPS_REJECT_JOBS 0x4009
00106 #define CUPS_SET_DEFAULT 0x400a
00107 #define CUPS_GET_DEVICES 0x400b
00108 #define CUPS_GET_PPDS 0x400c
00109 #define CUPS_MOVE_JOB 0x400d
00110
00111
00112 #define IPP_OK 0x0000
00113
00114
00115