Main Page | Data Structures | File List | Globals

include/ipp_constants.h

Go to the documentation of this file.
00001 /*
00002 ** mouse:~ppr/src/ipp_constants.h
00003 **
00004 ** Copyright 1995--2004, Trinity College Computing Center.
00005 ** Written by David Chappell.
00006 **
00007 ** Redistribution and use in source and binary forms, with or without
00008 ** modification, are permitted provided that the following conditions are met:
00009 **
00010 ** * Redistributions of source code must retain the above copyright notice,
00011 ** this list of conditions and the following disclaimer.
00012 **
00013 ** * Redistributions in binary form must reproduce the above copyright
00014 ** notice, this list of conditions and the following disclaimer in the
00015 ** documentation and/or other materials provided with the distribution.
00016 **
00017 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00018 ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00019 ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00020 ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
00021 ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00022 ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00023 ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00024 ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00025 ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00026 ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00027 ** POSSIBILITY OF SUCH DAMAGE.
00028 **
00029 ** Last modified 4 February 2004.
00030 */
00031 
00043 /* RFC 2565 section 3.7.1 Delimiter Tags */
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 /* RFC 2565 section 3.7.2 Value Tags */
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 /* IPP Operations */
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 /* CUPS IPP Extension Operations */
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 /* IPP status codes */
00112 #define IPP_OK 0x0000
00113 
00114 
00115 /* end of file */

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