Changeset 745 for trunk/server/source3/include/printing.h
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
source3/include/printing.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source3/include/printing.h
r414 r745 26 26 */ 27 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 28 68 /* Information for print jobs */ 29 69 struct printjob { … … 40 80 fstring jobname; /* the job name given to us by the client */ 41 81 fstring user; /* the user who started the job */ 82 42 83 fstring queuename; /* service number of printer for this job */ 43 NT_DEVICEMODE *nt_devmode;84 devmode; 44 85 }; 45 86 … … 83 124 #define PRINT_SPOOL_PREFIX "smbprn." 84 125 #endif 85 #define PRINT_DATABASE_VERSION 5 126 #define PRINT_DATABASE_VERSION 7 127 128 #ifdef AIX 129 #define DEFAULT_PRINTING PRINT_AIX 130 #define PRINTCAP_NAME "/etc/qconfig" 131 #endif 132 133 #ifdef HPUX 134 #define DEFAULT_PRINTING PRINT_HPUX 135 #endif 136 137 #ifdef QNX 138 #define DEFAULT_PRINTING PRINT_QNX 139 #endif 140 141 #ifndef DEFAULT_PRINTING 142 #ifdef HAVE_CUPS 143 #define DEFAULT_PRINTING PRINT_CUPS 144 #define PRINTCAP_NAME "cups" 145 #elif defined(SYSV) 146 #define DEFAULT_PRINTING PRINT_SYSV 147 #define PRINTCAP_NAME "lpstat" 148 #else 149 #define DEFAULT_PRINTING PRINT_BSD 150 #define PRINTCAP_NAME "/etc/printcap" 151 #endif 152 #endif 153 154 #ifndef PRINTCAP_NAME 155 #define PRINTCAP_NAME "/etc/printcap" 156 #endif 86 157 87 158 /* There can be this many printing tdb's open, plus any locked ones. */ 88 159 #define MAX_PRINT_DBS_OPEN 1 89 160 161 162 163 90 164 struct tdb_print_db { 91 165 struct tdb_print_db *next, *prev; 92 TDB_CONTEXT*tdb;166 *tdb; 93 167 int ref_count; 94 168 fstring printer_name; … … 101 175 #define NOTIFY_PID_LIST_KEY "NOTIFY_PID_LIST" 102 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 103 262 #endif /* PRINTING_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.
