1 tony 1.1 // ===================================================================
2 // Title: Device Printing 2.8
3 // Filename: Device28_Printing.mof
4 // Version: 2.8
5 // Status: Final
6 // Date: Jan 26, 2004
7 // ===================================================================
8 // Copyright 1999-2003 Distributed Management Task Force, Inc. (DMTF).
9 // All rights reserved.
10 // DMTF is a not-for-profit association of industry members dedicated
11 // to promoting enterprise and systems management and interoperability.
12 // DMTF specifications and documents may be reproduced for uses
13 // consistent with this purpose by members and non-members,
14 // provided that correct attribution is given.
15 // As DMTF specifications may be revised from time to time,
16 // the particular version and release date should always be noted.
17 //
18 // Implementation of certain elements of this standard or proposed
19 // standard may be subject to third party patent rights, including
20 // provisional patent rights (herein "patent rights"). DMTF makes
21 // no representations to users of the standard as to the existence
22 tony 1.1 // of such rights, and is not responsible to recognize, disclose, or
23 // identify any or all such third party patent right, owners or
24 // claimants, nor for any incomplete or inaccurate identification or
25 // disclosure of such rights, owners or claimants. DMTF shall have no
26 // liability to any party, in any manner or circumstance, under any
27 // legal theory whatsoever, for failure to recognize, disclose, or
28 // identify any such third party patent rights, or for such party's
29 // reliance on the standard or incorporation thereof in its product,
30 // protocols or testing procedures. DMTF shall have no liability to
31 // any party implementing such standard, whether such implementation
32 // is foreseeable or not, nor to any patent owner or claimant, and shall
33 // have no liability or responsibility for costs or losses incurred if
34 // a standard is withdrawn or modified after publication, and shall be
35 // indemnified and held harmless by any party implementing the
36 // standard from any and all claims of infringement by a patent owner
37 // for such implementations.
38 //
39 // For information about patents held by third-parties which have
40 // notified the DMTF that, in their opinion, such patent may relate to
41 // or impact implementations of DMTF standards, visit
42 // http://www.dmtf.org/about/policies/disclosures.php.
43 tony 1.1 // ===================================================================
44 // Description: The Device Model extends the management concepts that
45 // are related to LogicalDevices. This file defines
46 // the concepts to manage printers and the printing
47 // process (queues, jobs, etc.)
48 //
49 // The object classes below are listed in an order that
50 // avoids forward references. Required objects, defined
51 // by other working groups, are omitted.
52 // ==================================================================
53 // Change Log for 2.8
54 // CR1048 - Add JobQueue and QueueStatistics to the System Model,
55 // Modify the PrintQueue class in the Device Model accordingly
56 //
57 // Change Log for v2.7.1
58 // - Fix Value/ValueMap mismatches related to the various
59 // language properties in Printer, PrintJob and PrintService
60 //
61 // Change Log for v2.7 Final
62 // CR990 - Cleanup of PrintQueue
63 //
64 tony 1.1 // Change Log for v2.7
65 // CR617 - Remove ArrayType qualifier from PrintJob.Language property
66 // CR675 - Extend Printer.LanguagesSupport, Printer.CurrentLanguages,
67 // Printer.DefaultLanguage, PrintSerivce.LanguagesSupported,
68 // and PrintJob.Language to include "TIPSI", "Prescribe",
69 // "LinePrinter", "IDP", "XJCL", "PDF", "RPDL", "IntermecIPL",
70 // "UBIFingerprint", "UBIDirectProtocol", "Fujitsu", and
71 // "PCLXL"
72 // ==================================================================
73
74 #pragma locale ("en_US")
75
76
77 // ===================================================================
78 // Printer
79 // ===================================================================
80 [Version ( "2.7.1" ), Description (
81 "Capabilities and management of the Printer LogicalDevice.")]
82 class CIM_Printer : CIM_LogicalDevice {
83
84 [Description (
85 tony 1.1 "Status information for a Printer, beyond that specified in "
86 "the LogicalDevice Availability property. Values include "
87 "\"Idle\" (3) and an indication that the Device is currently "
88 "printing (4)."),
89 ValueMap { "1", "2", "3", "4", "5", "6", "7" },
90 Values { "Other", "Unknown", "Idle", "Printing", "Warmup",
91 "Stopped Printing", "Offline" },
92 MappingStrings { "MIB.IETF|Printer-MIB.hrPrinterStatus" }]
93 uint16 PrinterStatus;
94
95 [Description (
96 "Printer error information."),
97 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
98 "10", "11" },
99 Values { "Unknown", "Other", "No Error", "Low Paper",
100 "No Paper", "Low Toner", "No Toner", "Door Open", "Jammed",
101 "Offline", "Service Requested", "Output Bin Full" },
102 MappingStrings {
103 "MIB.IETF|Printer-MIB.hrPrinterDetectedErrorState" },
104 ModelCorrespondence { "CIM_Printer.ErrorInformation" }]
105 uint16 DetectedErrorState;
106 tony 1.1
107 [Description (
108 "An array providing supplemental information for the current "
109 "error state, indicated in DetectedErrorState."),
110 ModelCorrespondence { "CIM_Printer.DetectedErrorState" }]
111 string ErrorInformation[];
112
113 [Description (
114 "An integer array indicating the types of paper supported."),
115 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
116 "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
117 "20", "21", "22", "23", "24", "25", "26", "27", "28", "29",
118 "30", "31", "32", "33", "34", "35", "36", "37", "38", "39",
119 "40", "41", "42", "43", "44", "45", "46", "47", "48", "49",
120 "50", "51", "52", "53", "54", "55", "56", "57", "58", "59",
121 "60", "61", "62", "63", "64", "65", "66", "67", "68", "69",
122 "70", "71", "72", "73", "74", "75" },
123 Values { "Unknown", "Other", "A", "B", "C", "D", "E", "Letter",
124 "Legal", "NA-10x13-Envelope",
125 // 10
126 "NA-9x12-Envelope", "NA-Number-10-Envelope",
127 tony 1.1 "NA-7x9-Envelope", "NA-9x11-Envelope", "NA-10x14-Envelope",
128 "NA-Number-9-Envelope", "NA-6x9-Envelope",
129 "NA-10x15-Envelope", "A0", "A1",
130 // 20
131 "A2", "A3", "A4", "A5", "A6", "A7", "A8", "A9", "A10", "B0",
132 // 30
133 "B1", "B2", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "B10",
134 // 40
135 "C0", "C1", "C2", "C3", "C4", "C5", "C6", "C7", "C8",
136 "ISO-Designated",
137 // 50
138 "JIS B0", "JIS B1", "JIS B2", "JIS B3", "JIS B4", "JIS B5",
139 "JIS B6", "JIS B7", "JIS B8", "JIS B9",
140 // 60
141 "JIS B10", "NA-Letter", "NA-Legal", "B4-Envelope",
142 "B5-Envelope", "C3-Envelope", "C4-Envelope", "C5-Envelope",
143 "C6-Envelope", "Designated-Long-Envelope",
144 // 70
145 "Monarch-Envelope", "Executive", "Folio", "Invoice",
146 "Ledger", "Quarto" }]
147 uint16 PaperSizesSupported[];
148 tony 1.1
149 [Description (
150 "An array of free-form strings specifying the types of paper "
151 "that are currently available on the Printer. Each string "
152 "should be expressed in the form specified by ISO/IEC 10175 "
153 "Document Printing Application (DPA) which is also "
154 "summarized in Appendix C of RFC 1759 (Printer MIB). "
155 "Examples of valid strings are \"iso-a4-colored\" and "
156 "\"na-10x14-envelope\". By definition a paper size that is "
157 "available and listed in PaperTypesAvailable should also "
158 "appear in the PaperSizesSupported property."),
159 MappingStrings { "MIB.IETF|Printer-MIB.prtInputMediaName" },
160 ArrayType ( "Indexed" ),
161 ModelCorrespondence { "CIM_PrintJob.RequiredPaperType",
162 "CIM_PrintService.PaperTypesAvailable" }]
163 string PaperTypesAvailable[];
164
165 [Description (
166 "Specifies the paper type that the Printer will use if a "
167 "PrintJob does not specify a particular type. The string "
168 "should be expressed in the form specified by ISO/IEC 10175 "
169 tony 1.1 "Document Printing Application (DPA) which is also "
170 "summarized in Appendix C of RFC 1759 (Printer MIB)."),
171 ModelCorrespondence { "CIM_Printer.PaperTypesAvailable" }]
172 string DefaultPaperType;
173
174 [Description (
175 "Specifies the paper type that the Printer is currently "
176 "using. The string should be expressed in the form specified "
177 "by ISO/IEC 10175 Document Printing Application (DPA) which "
178 "is also summarized in Appendix C of RFC 1759 (Printer MIB)."),
179 ModelCorrespondence { "CIM_Printer.PaperTypesAvailable" }]
180 string CurrentPaperType;
181
182 [Description (
183 "An array indicating the print languages natively supported."),
184 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
185 "11", "12", "13", "14", "15", "16", "17", "18", "19", "20",
186 "21", "22", "23", "24", "25", "26", "27", "28", "29", "30",
187 "31", "32", "33", "34", "35", "36", "37", "38", "39", "40",
188 "41", "42", "43", "44", "45", "46", "47", "48", "50", "51",
189 "52", "53", "54", "55", "56", "57", "58", "59", "60" },
190 tony 1.1 Values { "Other", "Unknown", "PCL", "HPGL", "PJL", "PS",
191 "PSPrinter", "IPDS", "PPDS",
192 // 10
193 "EscapeP", "Epson", "DDIF", "Interpress", "ISO6429",
194 "Line Data", "MODCA", "REGIS", "SCS", "SPDL",
195 // 20
196 "TEK4014", "PDS", "IGP", "CodeV", "DSCDSE", "WPS", "LN03",
197 "CCITT", "QUIC", "CPAP",
198 // 30
199 "DecPPL", "Simple Text", "NPAP", "DOC", "imPress",
200 "Pinwriter", "NPDL", "NEC201PL", "Automatic", "Pages",
201 // 40
202 "LIPS", "TIFF", "Diagnostic", "CaPSL", "EXCL", "LCDS", "XES",
203 "MIME", "TIPSI",
204 // 50
205 "Prescribe", "LinePrinter", "IDP", "XJCL", "PDF", "RPDL",
206 "IntermecIPL", "UBIFingerprint", "UBIDirectProtocol",
207 "Fujitsu",
208 // 60
209 "PCLXL" },
210 MappingStrings { "MIB.IETF|Printer-MIB.prtInterpreterLangFamily"
211 tony 1.1 },
212 ModelCorrespondence { "CIM_Printer.MimeTypesSupported",
213 "CIM_PrintJob.Language",
214 "CIM_PrintService.LanguagesSupported" }]
215 uint16 LanguagesSupported[];
216
217 [Description (
218 "An array of free-form strings providing more detailed "
219 "explanations of any mime types that are supported by the "
220 "Printer. If data is provided for this property, then the "
221 "value 47, \"Mime\", should be included in the Languages "
222 "Supported property."),
223 ModelCorrespondence { "CIM_Printer.LanguagesSupported",
224 "CIM_PrintJob.MimeTypes",
225 "CIM_PrintService.MimeTypesSupported" }]
226 string MimeTypesSupported[];
227
228 [Description (
229 "Indicates the current printer language being used. A "
230 "language that is being used by the Printer should also be "
231 "listed in LanguagesSupported."),
232 tony 1.1 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
233 "11", "12", "13", "14", "15", "16", "17", "18", "19", "20",
234 "21", "22", "23", "24", "25", "26", "27", "28", "29", "30",
235 "31", "32", "33", "34", "35", "36", "37", "38", "39", "40",
236 "41", "42", "43", "44", "45", "46", "47", "48", "50", "51",
237 "52", "53", "54", "55", "56", "57", "58", "59", "60" },
238 Values { "Other", "Unknown", "PCL", "HPGL", "PJL", "PS",
239 "PSPrinter", "IPDS", "PPDS",
240 // 10
241 "EscapeP", "Epson", "DDIF", "Interpress", "ISO6429",
242 "Line Data", "MODCA", "REGIS", "SCS", "SPDL",
243 // 20
244 "TEK4014", "PDS", "IGP", "CodeV", "DSCDSE", "WPS", "LN03",
245 "CCITT", "QUIC", "CPAP",
246 // 30
247 "DecPPL", "Simple Text", "NPAP", "DOC", "imPress",
248 "Pinwriter", "NPDL", "NEC201PL", "Automatic", "Pages",
249 // 40
250 "LIPS", "TIFF", "Diagnostic", "CaPSL", "EXCL", "LCDS", "XES",
251 "MIME", "TIPSI",
252 // 50
253 tony 1.1 "Prescribe", "LinePrinter", "IDP", "XJCL", "PDF", "RPDL",
254 "IntermecIPL", "UBIFingerprint", "UBIDirectProtocol",
255 "Fujitsu",
256 // 60
257 "PCLXL" },
258 ModelCorrespondence { "CIM_Printer.LanguagesSupported",
259 "CIM_Printer.CurrentMimeType" }]
260 uint16 CurrentLanguage;
261
262 [Description (
263 "Specifies the mime type currently being used by the Printer "
264 "if the CurrentLanguage is set to indicate a mime type is in "
265 "use (value = 47)."),
266 ModelCorrespondence { "CIM_Printer.CurrentLanguage" }]
267 string CurrentMimeType;
268
269 [Description (
270 "Indicates the default printer language. A language that is "
271 "used as a default by the Printer should also be listed in "
272 "LanguagesSupported."),
273 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
274 tony 1.1 "11", "12", "13", "14", "15", "16", "17", "18", "19", "20",
275 "21", "22", "23", "24", "25", "26", "27", "28", "29", "30",
276 "31", "32", "33", "34", "35", "36", "37", "38", "39", "40",
277 "41", "42", "43", "44", "45", "46", "47", "48", "50", "51",
278 "52", "53", "54", "55", "56", "57", "58", "59", "60" },
279 Values { "Other", "Unknown", "PCL", "HPGL", "PJL", "PS",
280 "PSPrinter", "IPDS", "PPDS",
281 // 10
282 "EscapeP", "Epson", "DDIF", "Interpress", "ISO6429",
283 "Line Data", "MODCA", "REGIS", "SCS", "SPDL",
284 // 20
285 "TEK4014", "PDS", "IGP", "CodeV", "DSCDSE", "WPS", "LN03",
286 "CCITT", "QUIC", "CPAP",
287 // 30
288 "DecPPL", "Simple Text", "NPAP", "DOC", "imPress",
289 "Pinwriter", "NPDL", "NEC201PL", "Automatic", "Pages",
290 // 40
291 "LIPS", "TIFF", "Diagnostic", "CaPSL", "EXCL", "LCDS", "XES",
292 "MIME", "TIPSI",
293 // 50
294 "Prescribe", "LinePrinter", "IDP", "XJCL", "PDF", "RPDL",
295 tony 1.1 "IntermecIPL", "UBIFingerprint", "UBIDirectProtocol",
296 "Fujitsu",
297 // 60
298 "PCLXL" },
299 ModelCorrespondence { "CIM_Printer.LanguagesSupported",
300 "CIM_Printer.DefaultMimeType" }]
301 uint16 DefaultLanguage;
302
303 [Description (
304 "Specifies the default mime type used by the Printer if the "
305 "DefaultLanguage is set to indicate a mime type is in use "
306 "(value=47)."),
307 ModelCorrespondence { "CIM_Printer.DefaultLanguage" }]
308 string DefaultMimeType;
309
310 [Description (
311 "Printer jobs processed since last reset. These jobs may be "
312 "processed from one or more PrintQueues."),
313 Counter]
314 uint32 JobCountSinceLastReset;
315
316 tony 1.1 [Description (
317 "Time of last reset of the Printer Device.")]
318 datetime TimeOfLastReset;
319
320 [Description (
321 "An array of integers indicating Printer capabilities. "
322 "Information such as \"Duplex Printing\" (value=3) or "
323 "\"Transparency Printing\" (7) is specified in this "
324 "property."),
325 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
326 "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
327 "20", "21" },
328 Values { "Unknown", "Other", "Color Printing",
329 "Duplex Printing", "Copies", "Collation", "Stapling",
330 "Transparency Printing", "Punch", "Cover", "Bind",
331 "Black and White Printing", "One Sided",
332 "Two Sided Long Edge", "Two Sided Short Edge", "Portrait",
333 "Landscape", "Reverse Portrait", "Reverse Landscape",
334 "Quality High", "Quality Normal", "Quality Low" },
335 ArrayType ( "Indexed" ),
336 ModelCorrespondence { "CIM_Printer.CapabilityDescriptions",
337 tony 1.1 "CIM_PrintJob.Finishing", "CIM_PrintService.Capabilities" }]
338 uint16 Capabilities[];
339
340 [Description (
341 "An array of free-form strings providing more detailed "
342 "explanations for any of the Printer features indicated in "
343 "the Capabilities array. Note, each entry of this array is "
344 "related to the entry in the Capabilities array that is "
345 "located at the same index."),
346 ArrayType ( "Indexed" ),
347 ModelCorrespondence { "CIM_Printer.Capabilities" }]
348 string CapabilityDescriptions[];
349
350 [Description (
351 "Specifies which finishings and other capabilities of the "
352 "Printer will be used by default. An entry in Default "
353 "Capabilities should also be listed in the Capabilities "
354 "array."),
355 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
356 "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
357 "20", "21" },
358 tony 1.1 Values { "Unknown", "Other", "Color Printing",
359 "Duplex Printing", "Copies", "Collation", "Stapling",
360 "Transparency Printing", "Punch", "Cover", "Bind",
361 "Black and White Printing", "One Sided",
362 "Two Sided Long Edge", "Two Sided Short Edge", "Portrait",
363 "Landscape", "Reverse Portrait", "Reverse Landscape",
364 "Quality High", "Quality Normal", "Quality Low" },
365 ModelCorrespondence { "CIM_Printer.Capabilities" }]
366 uint16 DefaultCapabilities[];
367
368 [Description (
369 "Specifies which finishings and other capabilities of the "
370 "Printer are currently being used. An entry in this property "
371 "should also be listed in the Capabilities array."),
372 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
373 "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
374 "20", "21" },
375 Values { "Unknown", "Other", "Color Printing",
376 "Duplex Printing", "Copies", "Collation", "Stapling",
377 "Transparency Printing", "Punch", "Cover", "Bind",
378 "Black and White Printing", "One Sided",
379 tony 1.1 "Two Sided Long Edge", "Two Sided Short Edge", "Portrait",
380 "Landscape", "Reverse Portrait", "Reverse Landscape",
381 "Quality High", "Quality Normal", "Quality Low" },
382 ModelCorrespondence { "CIM_Printer.Capabilities" }]
383 uint16 CurrentCapabilities[];
384
385 [Description (
386 "The maximum number of copies that can be produced by the "
387 "Printer from a single Job."),
388 ModelCorrespondence { "CIM_PrintJob.Copies" }]
389 uint32 MaxCopies;
390
391 [Description (
392 "The number of copies that will be produced for a single Job "
393 "unless otherwise specified.")]
394 uint32 DefaultCopies;
395
396 [Description (
397 "The maximum number of print-stream pages that the Printer "
398 "can render onto a single media sheet."),
399 ModelCorrespondence { "CIM_PrintJob.NumberUp" }]
400 tony 1.1 uint32 MaxNumberUp;
401
402 [Description (
403 "The number of print-stream pages that the Printer will "
404 "render onto a single media sheet unless a Job specifies "
405 "otherwise.")]
406 uint32 DefaultNumberUp;
407
408 [Description (
409 "Printer's horizontal resolution in Pixels per Inch."),
410 Units ( "Pixels per Inch" ),
411 ModelCorrespondence { "CIM_PrintJob.HorizontalResolution" }]
412 uint32 HorizontalResolution;
413
414 [Description (
415 "Printer's vertical resolution in Pixels per Inch."),
416 Units ( "Pixels per Inch" ),
417 ModelCorrespondence { "CIM_PrintJob.HorizontalResolution" }]
418 uint32 VerticalResolution;
419
420 [Description (
421 tony 1.1 "Identifies the available character sets for the output of "
422 "text related to managing the Printer. Strings provided in "
423 "this property should conform to the semantics and syntax "
424 "specified by section 4.1.2 (\"Charset parameter\") in RFC "
425 "2046 (MIME Part 2) and contained in the IANA character-set "
426 "registry. Examples include \"utf-8\", \"us-ascii\" and "
427 "\"iso-8859-1\"."),
428 MappingStrings {
429 "MIB.IETF|Printer-MIB.prtLocalizationCharacterSet" },
430 ArrayType ( "Indexed" ),
431 ModelCorrespondence { "CIM_PrintJob.CharSet" }]
432 string CharSetsSupported[];
433
434 [Description (
435 "Specifies the current character set being used for the "
436 "output of text relating to management of the Printer. The "
437 "character set described by this property should also be "
438 "listed in CharsetsSupported. The string specified by this "
439 "property should conform to the semantics and syntax "
440 "specified by section 4.1.2 (\"Charset parameter\") in RFC "
441 "2046 (MIME Part 2) and contained in the IANA character-set "
442 tony 1.1 "registry. Examples include \"utf-8\", \"us-ascii\" and "
443 "\"iso-8859-1\"."),
444 ModelCorrespondence { "CIM_Printer.CharSetsSupported" }]
445 string CurrentCharSet;
446
447 [Description (
448 "Identifies the available languages for strings used by the "
449 "Printer for the output of management information. The "
450 "strings should conform to RFC 1766, for example \"en\" is "
451 "used for English."),
452 MappingStrings { "MIB.IETF|Printer-MIB.prtLocalizationLanguage"
453 }, ArrayType ( "Indexed" ),
454 ModelCorrespondence { "CIM_PrintJob.NaturalLanguage" }]
455 string NaturalLanguagesSupported[];
456
457 [Description (
458 "Identifies the current language being used by the Printer "
459 "for management. The language listed in the "
460 "CurrentNaturalLanguage property should also be listed in "
461 "NaturalLanguagesSupported."),
462 ModelCorrespondence { "CIM_Printer.NaturalLanguagesSupported" }]
463 tony 1.1 string CurrentNaturalLanguage;
464
465 [Description (
466 "Specifies the largest Job (as a byte stream) that the "
467 "Printer will accept in units of Kbytes. A value of zero "
468 "indicates that no limit has been set."),
469 Units ( "KiloBytes" ),
470 ModelCorrespondence { "CIM_PrintJob.JobSize" }]
471 uint32 MaxSizeSupported;
472
473 [Description (
474 "Describes all of the job sheets that are available on the "
475 "Printer. This can also be used to describe the banner that "
476 "a Printer might provide at the beginning of each Job, or "
477 "can describe other user specified options."),
478 ModelCorrespondence { "CIM_PrintJob.RequiredJobSheets" }]
479 string AvailableJobSheets[];
480
481 [Description (
482 "Specifies the marking technology used by the Printer."),
483 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
484 tony 1.1 "11", "12", "13", "14", "15", "16", "17", "18", "19", "20",
485 "21", "22", "23", "24", "25", "26", "27" },
486 Values { "Other", "Unknown", "Electrophotographic LED",
487 "Electrophotographic Laser", "Electrophotographic Other",
488 "Impact Moving Head Dot Matrix 9pin",
489 "Impact Moving Head Dot Matrix 24pin",
490 "Impact Moving Head Dot Matrix Other",
491 "Impact Moving Head Fully Formed", "Impact Band",
492 "Impact Other", "Inkjet Aqueous", "Inkjet Solid",
493 "Inkjet Other", "Pen", "Thermal Transfer",
494 "Thermal Sensitive", "Thermal Diffusion", "Thermal Other",
495 "Electroerosion", "Electrostatic", "Photographic Microfiche",
496 "Photographic Imagesetter", "Photographic Other",
497 "Ion Deposition", "eBeam", "Typesetter" },
498 MappingStrings { "MIB.IETF|Printer-MIB.prtMarkerMarkTech" }]
499 uint16 MarkingTechnology;
500 };
501
502
503 // ===================================================================
504 // PrintQueue
505 tony 1.1 // ===================================================================
506 [Version ( "2.7.0" ), Description (
507 "Capabilities and management of a Printer Queue. A PrintQueue "
508 "holds PrintJobs - which are placed on the Queue by a Print "
509 "Service. Jobs can move from Queue to Queue.")]
510 class CIM_PrintQueue : CIM_JobDestination {
511
512 [Deprecated { "CIM_EnabledLogicalElement.EnabledState" },
513 Description (
514 "Indicates that Jobs on the Queue will be passed to a "
515 "Printer. When FALSE, a Job will remain on the Queue and "
516 "will not be passed to a Printer for output. This property, "
517 "coupled with the information in QueueAccepting, aligns with "
518 "various values of the inherited EnabledState property: \n"
519 "- When both QueueEnabled and QueueAccepting are TRUE, then "
520 "EnabledState is set to 2 (\"Enabled\") \n"
521 "- When both QueueEnabled and QueueAccepting are FALSE, then "
522 "EnabledState is set to 3 (\"Disabled\") \n"
523 "- When QueueEnabled is TRUE and QueueAccepting is FALSE "
524 "(i.e., when the Queue is outputting jobs to the printer, "
525 "but not accepting new jobs), then EnabledState is set to 6 "
526 tony 1.1 "(\"Enabled but Offline\") \n"
527 "- When QueueEnabled is FALSE and QueueAccepting is TRUE "
528 "(i.e., when the Queue is accepting print jobs but not "
529 "sending them to a printer), then EnabledState is set to 8 "
530 "(\"Deferred\") \n"
531 "Both this property and QueueAccepting are deprecated in "
532 "lieu of EnabledState.")]
533 boolean QueueEnabled;
534
535 [Deprecated { "CIM_EnabledLogicalElement.EnabledState" },
536 Description (
537 "When FALSE, no PrintService can place PrintJobs on the "
538 "PrintQueue. The ability of an individual PrintService to "
539 "place a Job on the Queue can be specified using the "
540 "QueueAcceptingFromService property in the QueueForPrint "
541 "Service association. This property, coupled with the "
542 "information in QueueEnabled, aligns with various values of "
543 "the inherited EnabledState property: \n"
544 "- When both QueueEnabled and QueueAccepting are TRUE, then "
545 "EnabledState is set to 2 (\"Enabled\") \n"
546 "- When both QueueEnabled and QueueAccepting are FALSE, then "
547 tony 1.1 "EnabledState is set to 3 (\"Disabled\") \n"
548 "- When QueueEnabled is TRUE and QueueAccepting is FALSE "
549 "(i.e., when the Queue is outputting jobs to the printer, "
550 "but not accepting new jobs), then EnabledState is set to 6 "
551 "(\"Enabled but Offline\") \n"
552 "- When QueueEnabled is FALSE and QueueAccepting is TRUE "
553 "(i.e., when the Queue is accepting print jobs but not "
554 "sending them to a printer), then EnabledState is set to 8 "
555 "(\"Deferred\") \n"
556 "Both this property and QueueEnabled are deprecated in lieu "
557 "of EnabledState.")]
558 boolean QueueAccepting;
559
560 [Description (
561 "The current number of Jobs on the Queue."),
562 Gauge]
563 uint32 NumberOnQueue;
564
565 [Description (
566 "Gives Queue-specific status information, beyond the "
567 "ManagedSystemElement.Status property. This may be used to "
568 tony 1.1 "provide further qualification as to the status of the Queue "
569 "or to indicate a secondary condition (e.g. spool area is "
570 "full)."),
571 ValueMap { "0", "1", "2", "3" },
572 Values { "Other", "Unknown", "No Additional Status",
573 "QueueSpoolAreaFull" }]
574 uint16 QueueStatus;
575
576 [Description (
577 "Provides a textual explanation for the status of the Queue. "
578 "The settings of both QueueStatus and the Status property "
579 "inherited from ManagedSystemElement may be described by "
580 "QueueStatusInfo. For example, if \"Stopping\" is the value "
581 "assigned to Status, then this property may contain an "
582 "explanation as to why the Queue is being stopped.")]
583 string QueueStatusInfo;
584
585 [Description (
586 "Specifies the largest possible Job (in terms of a single "
587 "byte stream) that may be submitted to this Queue. A value "
588 "of zero indicates that no limit has been set. Units are "
589 tony 1.1 "Kbytes."),
590 Units ( "KiloBytes" ),
591 ModelCorrespondence { "CIM_PrintJob.JobSize" }]
592 uint32 MaxJobSize;
593
594 [Description (
595 "Specifies the priority that will be assigned to a new Job "
596 "being submitted to this Queue, if the Job does not "
597 "explicitly specify a priority. The range of valid "
598 "priorities and the interpretation of priorities may be "
599 "determined from the JobPriorityHigh and JobPriorityLow "
600 "properties."),
601 ModelCorrespondence { "CIM_PrintQueue.JobPriorityHigh",
602 "CIM_PrintQueue.JobPriorityLow" }]
603 uint32 DefaultJobPriority;
604
605 [Description (
606 "Specifies the numeric value that is used to represent the "
607 "highest priority Jobs that are submitted to this Queue. The "
608 "range of numeric values for priority may be inversed, e.g. "
609 "a high priority job is represented by a low integer value. "
610 tony 1.1 "This is indicated by JobPriorityLow being greater than "
611 "JobPriorityHigh. If both values (PriorityLow and Priority "
612 "High) are assigned to zero, then the Queue does not support "
613 "Job priorities."),
614 ModelCorrespondence { "CIM_PrintQueue.JobPriorityLow",
615 "CIM_Job.Priority" }]
616 uint32 JobPriorityHigh;
617
618 [Description (
619 "Specifies the numeric value that is used to represent the "
620 "lowest priority Jobs that are submitted to this Queue. The "
621 "range of numeric values for priority may be inversed, e.g. "
622 "a low priority job is represented by a high integer value. "
623 "This is indicated by JobPriorityLow being greater than "
624 "JobPriorityHigh. If both values (PriorityLow and "
625 "PriorityHigh) are assigned to zero, then the Queue does not "
626 "support Job priorities."),
627 ModelCorrespondence { "CIM_PrintQueue.JobPriorityHigh",
628 "CIM_Job.Priority" }]
629 uint32 JobPriorityLow;
630
631 tony 1.1 [Description (
632 "Specifies the job sheets that are supported by this Queue. "
633 "Typically the job sheets provided by a Queue will be the "
634 "union or aggregation of those provided by all the Printers "
635 "that it supports. However, a system administrator may "
636 "choose to restrict access to some job sheets on a "
637 "particular Queue. A Queue might also support additional job "
638 "sheets through the use of a filter that adds a banner or "
639 "some other page when a Job is taken from the Queue."),
640 ModelCorrespondence { "CIM_PrintJob.RequiredJobSheets" }]
641 string AvailableJobSheets[];
642 };
643
644
645 // ===================================================================
646 // PrintJob
647 // ===================================================================
648 [Version ( "2.7.1" ), Description (
649 "Description of a print request that is either waiting on a "
650 "Queue for a Printer to become available, in the process of "
651 "being output on a Printer, or that has previously been printed "
652 tony 1.1 "on a Printer. PrintJobs are weak to their current Queue, or to "
653 "the last Queue that held them.")]
654 class CIM_PrintJob : CIM_Job {
655
656 [Key, Propagated ( "CIM_PrintQueue.SystemCreationClassName" ),
657 Description (
658 "The scoping System's CreationClassName."),
659 MaxLen ( 256 )]
660 string SystemCreationClassName;
661
662 [Key, Propagated ( "CIM_PrintQueue.SystemName" ), Description (
663 "The scoping System's Name."),
664 MaxLen ( 256 )]
665 string SystemName;
666
667 [Key, Propagated ( "CIM_PrintQueue.CreationClassName" ),
668 Description (
669 "The scoping Queue's CreationClassName."),
670 MaxLen ( 256 )]
671 string QueueCreationClassName;
672
673 tony 1.1 [Key, Propagated ( "CIM_PrintQueue.Name" ), Description (
674 "The scoping Queue's Name."),
675 MaxLen ( 256 )]
676 string QueueName;
677
678 [Override ( "JobStatus" ), Description (
679 "The inherited JobStatus is used to provide additional "
680 "information about the status of a PrintJob beyond that "
681 "enumerated by PrintJobStatus."),
682 ModelCorrespondence { "CIM_PrintJob.PrintJobStatus" }]
683 string JobStatus;
684
685 [Key, Description (
686 "Uniquely identifies this Job within its scoping Queue.")]
687 string JobID;
688
689 [Description (
690 "Provides additional textual descriptions of how this Job "
691 "should be scheduled. This free-form string property is "
692 "deprecated in lieu of the more semantically rich "
693 "SettingData class, JobScheduleSettingData.")]
694 tony 1.1 string SchedulingInformation;
695
696 [Description (
697 "Specifies the size of the PrintJob (as a byte stream) in "
698 "units of Kbytes."),
699 Units ( "KiloBytes" ),
700 ModelCorrespondence { "CIM_Printer.MaxSizeSupported",
701 "CIM_PrintQueue.MaxJobSize" }]
702 uint32 JobSize;
703
704 [Description (
705 "Specifies the print language used by this Job."),
706 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
707 "11", "12", "13", "14", "15", "16", "17", "18", "19", "20",
708 "21", "22", "23", "24", "25", "26", "27", "28", "29", "30",
709 "31", "32", "33", "34", "35", "36", "37", "38", "39", "40",
710 "41", "42", "43", "44", "45", "46", "47", "48", "50", "51",
711 "52", "53", "54", "55", "56", "57", "58", "59", "60" },
712 Values { "Other", "Unknown", "PCL", "HPGL", "PJL", "PS",
713 "PSPrinter", "IPDS", "PPDS",
714 // 10
715 tony 1.1 "EscapeP", "Epson", "DDIF", "Interpress", "ISO6429",
716 "Line Data", "MODCA", "REGIS", "SCS", "SPDL",
717 // 20
718 "TEK4014", "PDS", "IGP", "CodeV", "DSCDSE", "WPS", "LN03",
719 "CCITT", "QUIC", "CPAP",
720 // 30
721 "DecPPL", "Simple Text", "NPAP", "DOC", "imPress",
722 "Pinwriter", "NPDL", "NEC201PL", "Automatic", "Pages",
723 // 40
724 "LIPS", "TIFF", "Diagnostic", "CaPSL", "EXCL", "LCDS", "XES",
725 "MIME", "TIPSI",
726 // 50
727 "Prescribe", "LinePrinter", "IDP", "XJCL", "PDF", "RPDL",
728 "IntermecIPL", "UBIFingerprint", "UBIDirectProtocol",
729 "Fujitsu",
730 // 60
731 "PCLXL" },
732 MappingStrings { "MIB.IETF|Printer-MIB.prtInterpreterLangFamily"
733 },
734 ModelCorrespondence { "CIM_Printer.LanguagesSupported",
735 "CIM_PrintService.LanguagesSupported",
736 tony 1.1 "CIM_PrintJob.MimeTypes" }]
737 uint16 Language;
738
739 [Description (
740 "Specifies the mime types used by the PrintJob if Language "
741 "is set to indicate a mime type is in use (value=47)."),
742 ModelCorrespondence { "CIM_PrintJob.Language",
743 "CIM_Printer.MimeTypesSupported",
744 "CIM_PrintService.MimeTypesSupported" }]
745 string MimeTypes[];
746
747 [Description (
748 "A string specifying the type of paper that is required by "
749 "this PrintJob. Each string should be expressed in the form "
750 "specified by ISO/IEC 10175 Document Printing Application "
751 "(DPA) which is also summarized in Appendix C of RFC 1759 "
752 "(Printer MIB). Examples of valid strings are "
753 "\"iso-a4-colored\" and \"na-10x14-envelope\"."),
754 ModelCorrespondence { "CIM_Printer.PaperTypesAvailable",
755 "CIM_PrintService.PaperTypesAvailable" }]
756 string RequiredPaperType;
757 tony 1.1
758 [Description (
759 "An array of integers indicating the type of finishing "
760 "required by this Job. It is equivalent to the Capabilities "
761 "property provided by the Printer."),
762 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
763 "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
764 "20", "21" },
765 Values { "Unknown", "Other", "Color Printing",
766 "Duplex Printing", "Copies", "Collation", "Stapling",
767 "Transparency Printing", "Punch", "Cover", "Bind",
768 "Black and White Printing", "One Sided",
769 "Two Sided Long Edge", "Two Sided Short Edge", "Portrait",
770 "Landscape", "Reverse Portrait", "Reverse Landscape",
771 "Quality High", "Quality Normal", "Quality Low" },
772 ArrayType ( "Indexed" ),
773 ModelCorrespondence { "CIM_Printer.Capabilities",
774 "CIM_PrintService.Capabilities" }]
775 uint16 Finishing[];
776
777 [Description (
778 tony 1.1 "The number of physical copies of the output that will be "
779 "produced from this Job."),
780 ModelCorrespondence { "CIM_Printer.MaxCopies" }]
781 uint32 Copies;
782
783 [Description (
784 "The horizontal resolution in Pixels per Inch for the Job."),
785 Units ( "Pixels per Inch" ),
786 ModelCorrespondence { "CIM_Printer.HorizontalResolution" }]
787 uint32 HorizontalResolution;
788
789 [Description (
790 "The vertical resolution in Pixels per Inch for the Job."),
791 Units ( "Pixels per Inch" ),
792 ModelCorrespondence { "CIM_Printer.VerticalResolution" }]
793 uint32 VerticalResolution;
794
795 [Description (
796 "Specifies the character set and encoding method that should "
797 "be used by the Printer for the management of this Job. The "
798 "strings should conform to the semantics and syntax "
799 tony 1.1 "specified by section 4.1.2 (\"Charset parameter\") in RFC "
800 "2046 (MIME Part 2) and contained in the IANA character-set "
801 "registry. Examples include \"utf-8\", \"us-ascii\" and "
802 "\"iso-8859-1\"."),
803 ModelCorrespondence { "CIM_Printer.CharSetsSupported" }]
804 string CharSet;
805
806 [Description (
807 "Identifies the language that should be used by the Printer "
808 "for the management of this Job. The specified value should "
809 "conform to RFC 1766. For example, \"en\" is used for "
810 "English."),
811 ModelCorrespondence { "CIM_Printer.NaturalLanguagesSupported" }]
812 string NaturalLanguage;
813
814 [Description (
815 "The number of print-stream pages that should be rendered "
816 "onto a single media sheet when the Printer outputs this "
817 "PrintJob."),
818 ModelCorrespondence { "CIM_Printer.MaxNumberUp" }]
819 uint32 NumberUp;
820 tony 1.1
821 [Description (
822 "Describes the current state of this Job with respect to the "
823 "PrintQueue and the Printer. Additional information may be "
824 "specified in JobStatus."),
825 ValueMap { "1", "2", "3", "4", "5", "6", "7" },
826 Values { "Other", "Unknown", "Pending", "Blocked", "Complete",
827 "Completed With Error", "Printing" },
828 ModelCorrespondence { "CIM_PrintJob.TimeCompleted",
829 "CIM_PrintJob.JobStatus" }]
830 uint16 PrintJobStatus;
831
832 [Description (
833 "Time when this Job was completed. This value is only valid "
834 "if the PrintJobStatus has been assigned to \"Complete\" "
835 "(value=5) or \"Completed With Error\" (value=6)."),
836 ModelCorrespondence { "CIM_PrintJob.PrintJobStatus" }]
837 datetime TimeCompleted;
838
839 [Description (
840 "Describes the job sheets that should be used when this Job "
841 tony 1.1 "is output on the Printer."),
842 ModelCorrespondence { "CIM_Printer.AvailableJobSheets" }]
843 string RequiredJobSheets[];
844
845 [Description (
846 "Provides additional information, beyond Job Owner inherited "
847 "from CIM_Job, to identify the origins of the PrintJob. This "
848 "property could include information such as the System, "
849 "application or Process that created the Job.")]
850 string JobOrigination;
851 };
852
853
854 // ===================================================================
855 // PrintSAP
856 // ===================================================================
857 [Version ( "2.6.0" ), Description (
858 "The ServiceAccessPoint for a printing Service.")]
859 class CIM_PrintSAP : CIM_ServiceAccessPoint {
860
861 [Description (
862 tony 1.1 "Specifies the print procotols that this AccessPoint uses. "
863 "Note that each entry of this array is related to the entry "
864 "in the PrintProtocolInfo array that is located at the same "
865 "index."),
866 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7" },
867 Values { "Unknown", "Other", "SMB", "BSD", "SYSV", "HPNP",
868 "IPP", "Local" }, ArrayType ( "Indexed" ),
869 ModelCorrespondence { "CIM_PrintSAP.PrintProtocolInfo" }]
870 uint16 PrintProtocol[];
871
872 [Description (
873 "Provides clarifying or additional information about the "
874 "protocols supported by this AccessPoint. Note, each entry "
875 "of this array is related to the entry in the PrintProtocol "
876 "array that is located at the same index."),
877 ArrayType ( "Indexed" ),
878 ModelCorrespondence { "CIM_PrintSAP.PrintProtocol" }]
879 string PrintProtocolInfo[];
880 };
881
882
883 tony 1.1 // ===================================================================
884 // PrintService
885 // ===================================================================
886 [Version ( "2.7.1" ), Description (
887 "The Service that provides support for printing. The basic "
888 "assumption of the Printing Model is that a PrintService "
889 "accepts a PrintJob for processing, via its PrintSAP. The Job "
890 "is then placed on a PrintQueue (indicated by the "
891 "QueueForPrintService association). Printers take Jobs from "
892 "Queues (indicated by the PrinterServicingQueue association).")]
893 class CIM_PrintService : CIM_Service {
894
895 [Description (
896 "An array of free-form strings specifying the types of paper "
897 "that may be used by Jobs that are submitted to this "
898 "PrintService. This may be different than the paper types "
899 "that are installed on the Printer, because the PrintService "
900 "may include support for manually making other types "
901 "available or only a subset of paper types may be exported "
902 "via this Service. Each string should be expressed in the "
903 "form specified by ISO/IEC 10175 Document Printing "
904 tony 1.1 "Application (DPA) which is also summarized in Appendix C of "
905 "RFC 1759 (Printer MIB). Examples of valid strings are "
906 "\"iso-a4-colored\" and \"na-10x14-envelope\"."),
907 ModelCorrespondence { "CIM_Printer.PaperTypesAvailable",
908 "CIM_PrintJob.RequiredPaperType" }]
909 string PaperTypesAvailable[];
910
911 [Description (
912 "An array indicating the print languages supported by the "
913 "PrintService. A PrintService may support more languages "
914 "than those available on the underlying Printer through the "
915 "use of filters. An administrator may also choose to prevent "
916 "some languages from being exported by the PrintService."),
917 ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
918 "11", "12", "13", "14", "15", "16", "17", "18", "19", "20",
919 "21", "22", "23", "24", "25", "26", "27", "28", "29", "30",
920 "31", "32", "33", "34", "35", "36", "37", "38", "39", "40",
921 "41", "42", "43", "44", "45", "46", "47", "48", "50", "51",
922 "52", "53", "54", "55", "56", "57", "58", "59", "60" },
923 Values { "Other", "Unknown", "PCL", "HPGL", "PJL", "PS",
924 "PSPrinter", "IPDS", "PPDS",
925 tony 1.1 // 10
926 "EscapeP", "Epson", "DDIF", "Interpress", "ISO6429",
927 "Line Data", "MODCA", "REGIS", "SCS", "SPDL",
928 // 20
929 "TEK4014", "PDS", "IGP", "CodeV", "DSCDSE", "WPS", "LN03",
930 "CCITT", "QUIC", "CPAP",
931 // 30
932 "DecPPL", "Simple Text", "NPAP", "DOC", "imPress",
933 "Pinwriter", "NPDL", "NEC201PL", "Automatic", "Pages",
934 // 40
935 "LIPS", "TIFF", "Diagnostic", "CaPSL", "EXCL", "LCDS", "XES",
936 "MIME", "TIPSI",
937 // 50
938 "Prescribe", "LinePrinter", "IDP", "XJCL", "PDF", "RPDL",
939 "IntermecIPL", "UBIFingerprint", "UBIDirectProtocol",
940 "Fujitsu",
941 // 60
942 "PCLXL" },
943 MappingStrings { "MIB.IETF|Printer-MIB.prtInterpreterLangFamily"
944 }, ArrayType ( "Indexed" ),
945 ModelCorrespondence { "CIM_Printer.LanguagesSupported",
946 tony 1.1 "CIM_PrintJob.Language",
947 "CIM_PrintService.MimeTypesSupported" }]
948 uint16 LanguagesSupported[];
949
950 [Description (
951 "An array of free-form strings providing more detailed "
952 "explanations for any mime types that are supported by the "
953 "PrintService. Support for mime types is indicated by "
954 "specifying a value of 47 in the LanguagesSupported array."),
955 ModelCorrespondence { "CIM_Printer.MimeTypesSupported",
956 "CIM_PrintJob.MimeTypes",
957 "CIM_PrintService.LanguagesSupported" }]
958 string MimeTypesSupported[];
959
960 [Description (
961 "An array of integers indicating the capabilities supported "
962 "by this service. Information such as \"Duplex Printing\" "
963 "(value=3) or \"Transparency Printing\" (7) is specified in "
964 "this property."),
965 ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
966 "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",
967 tony 1.1 "20", "21" },
968 Values { "Unknown", "Other", "Color Printing",
969 "Duplex Printing", "Copies", "Collation", "Stapling",
970 "Transparency Printing", "Punch", "Cover", "Bind",
971 "Black and White Printing", "One Sided",
972 "Two Sided Long Edge", "Two Sided Short Edge", "Portrait",
973 "Landscape", "Reverse Portrait", "Reverse Landscape",
974 "Quality High", "Quality Normal", "Quality Low" },
975 ArrayType ( "Indexed" ),
976 ModelCorrespondence { "CIM_Printer.Capabilities",
977 "CIM_PrintJob.Finishing",
978 "CIM_PrintService.CapabilityDescriptions" }]
979 uint16 Capabilities[];
980
981 [Description (
982 "An array of free-form strings providing more detailed "
983 "explanations for any of the Printer features indicated in "
984 "the Capabilities array. Note, each entry of this array is "
985 "related to the entry in the Capabilities array that is "
986 "located at the same index."),
987 ArrayType ( "Indexed" ),
988 tony 1.1 ModelCorrespondence { "CIM_PrintService.Capabilities" }]
989 string CapabilityDescriptions[];
990
991 [Description (
992 "Describes the filters that are available within this Print "
993 "Service. For example, a PrintService may be able to convert "
994 "a Job submitted in one page description language to "
995 "another, so that it can be passed to an available Printer.")]
996 string AvailableFilters[];
997 };
998
999
1000 // ===================================================================
1001 // PrinterServicingQueue
1002 // ===================================================================
1003 [Association, Version ( "2.6.0" ), Description (
1004 "This association indicates that a Printer can be passed "
1005 "PrintJobs from a particular Queue.")]
1006 class CIM_PrinterServicingQueue : CIM_Dependency {
1007
1008 [Override ( "Antecedent" ), Description (
1009 tony 1.1 "A destination Printer for Jobs enqueued on the Dependent "
1010 "Queue.")]
1011 CIM_Printer REF Antecedent;
1012
1013 [Override ( "Dependent" ), Description (
1014 "A Queue that is providing Jobs to the Printer.")]
1015 CIM_PrintQueue REF Dependent;
1016 };
1017
1018
1019 // ===================================================================
1020 // PrinterServicingJob
1021 // ===================================================================
1022 [Association, Version ( "2.6.0" ), Description (
1023 "This association indicates that a Printer is currently "
1024 "servicing a particular PrintJob.")]
1025 class CIM_PrinterServicingJob : CIM_Dependency {
1026
1027 [Override ( "Antecedent" ), Description (
1028 "The destination Printer for a PrintJob.")]
1029 CIM_Printer REF Antecedent;
1030 tony 1.1
1031 [Override ( "Dependent" ), Description (
1032 "The PrintJob.")]
1033 CIM_PrintJob REF Dependent;
1034 };
1035
1036
1037 // ===================================================================
1038 // PrintJobFile
1039 // ===================================================================
1040 [Association, Aggregation, Version ( "2.6.0" ), Description (
1041 "This association indicates which files are associated with a "
1042 "PrintJob.")]
1043 class CIM_PrintJobFile : CIM_Component {
1044
1045 [Aggregate, Override ( "GroupComponent" ), Description (
1046 "The PrintJob that is based on one or more Files.")]
1047 CIM_PrintJob REF GroupComponent;
1048
1049 [Override ( "PartComponent" ), Description (
1050 "The File(s) that make up a PrintJob.")]
1051 tony 1.1 CIM_DataFile REF PartComponent;
1052 };
1053
1054
1055 // ===================================================================
1056 // QueueForPrintService
1057 // ===================================================================
1058 [Association, Version ( "2.6.0" ), Description (
1059 "This association indicates that a PrintService utilizes a "
1060 "particular PrintQueue.")]
1061 class CIM_QueueForPrintService : CIM_Dependency {
1062
1063 [Override ( "Antecedent" ), Description (
1064 "The PrintQueue that the Service utilizes.")]
1065 CIM_PrintQueue REF Antecedent;
1066
1067 [Override ( "Dependent" ), Description (
1068 "The PrintService that puts Jobs on the Queue.")]
1069 CIM_PrintService REF Dependent;
1070
1071 [Description (
1072 tony 1.1 "Indicates that the PrintService can accept Jobs and place "
1073 "them on the Queue.")]
1074 boolean QueueAcceptingFromService;
1075 };
1076
1077
1078 // ===================================================================
1079 // QueueForwardsToPrintSAP
1080 // ===================================================================
1081 [Association, Version ( "2.6.0" ), Description (
1082 "This association indicates that the Jobs from a PrintQueue can "
1083 "be sent to the referenced PrintSAP, to be handled by the SAP's "
1084 "backing PrintService.")]
1085 class CIM_QueueForwardsToPrintSAP : CIM_Dependency {
1086
1087 [Override ( "Antecedent" ), Description (
1088 "The PrintSAP for the PrintService.")]
1089 CIM_PrintSAP REF Antecedent;
1090
1091 [Override ( "Dependent" ), Description (
1092 "The PrintQueue that forwards Jobs to the SAP.")]
1093 tony 1.1 CIM_PrintQueue REF Dependent;
1094 };
1095
1096
1097 // ===================================================================
1098 // OwningPrintQueue
1099 // ===================================================================
1100 [Association, Version ( "2.6.0" ), Description (
1101 "This association indicates which Queue holds a PrintJob and "
1102 "where the Job is located within that Queue. A Job may remain "
1103 "on its final Queue once it has been printed with a "
1104 "PrintJobStatus of \"Complete\" or \"Completed With Error\".")]
1105 class CIM_OwningPrintQueue : CIM_JobDestinationJobs {
1106
1107 [Override ( "Antecedent" ), Min ( 1 ), Max ( 1 ), Description (
1108 "The PrintQueue on which the Job is held.")]
1109 CIM_PrintQueue REF Antecedent;
1110
1111 [Override ( "Dependent" ), Weak, Description (
1112 "The PrintJob.")]
1113 CIM_PrintJob REF Dependent;
1114 tony 1.1
1115 [Description (
1116 "The position of the PrintJob on the Queue. The top of the "
1117 "Queue is indicated by a value of 1 with higher values being "
1118 "used to represent Jobs that are further away from the top "
1119 "of the Queue. A QueuePosition of zero indicate that the Job "
1120 "has completed (either with or without error).")]
1121 uint32 QueuePosition;
1122 };
1123
1124
1125 // ===================================================================
1126 // end of file
1127 // ===================================================================
|