This class, which contains information about print jobs pending on a client printer, is based on Win32_PrintJobs. This class is not included in a default hardware inventory operation.
Table C.41 Print Jobs Attribute Class (SMS_G_System_PRINT_JOB)
| Property (Bold if collected) | Data type | Example | Notes |
|---|---|---|---|
| Caption | string | Describes the object. Maximum length is 64 characters. | |
| DataType | string | Indicates the data type of the print job. | |
| Description | string | Describes the object. | |
| Document | string | Indicates the name of the document to be printed. | |
| DriverName | string | Indicates the name of the printer drive used for the print job. | |
| ElapsedTime | datetime | See “Date and Time Formats” at the beginning of Appendix B. | Indicates the length of time that the job has been executing. |
| GroupID | uint32 | 2 | Within one ResourceId (one SMS client), GroupID distinguishes one instance of a class from another. Objects with the same ResourceId and GroupID are “deltas” of one another, describing the same hardware inventory instance at different points in time. This is not a collectable property. |
| HostPrintQueue | string | Indicates the name of the host print queue. | |
| InstallDate | datetime | See “Date and Time Formats” at the beginning of Appendix B. | Indicates when the object was installed. The absence of a value does not indicate that the object is not installed. |
| JobId | uint32 | Indicates the identifier number of the job. | |
| Name | string | Key. Serves as key of a job instance in the context of a print job. Maximum length of the label is 256 characters. | |
| Notify | string | Indicates that the user should be notified at job completion or failure. | |
| Owner | string | Identifies the user who submitted the job. | |
| PagesPrinted | uint32 | Indicates the number of pages printed. | |
| Parameters | string | Indicates the printing parameters of the print job. | |
| PrintProcessor | string | Indicates the service used to process the print job. | |
| Priority | uint32 | Indicates the urgency, or importance, of the execution of a job. | |
| ResourceId | uint32 | 42 | Key. Inventory items with the same ResourceId were all discovered on the same SMS client. The ResourceId identifies the SMS client.
A ResourceId is an integer generated for the sake of SQL; it is not unique outside the site and should be used only for short-term querying purposes. It is not a collectable property. |
| RevisionID | uint32 | 1 | Objects with the same ResourceId and GroupID are deltas, differentiated from one another by RevisionID number. The highest number is the most recent update. This is not a collectable property. |
| Size | uint32 | Indicates the print job size in bytes. | |
| StartTime | datetime | See “Date and Time Formats” at the beginning of Appendix B. | Indicates the time that the job was begun. |
| Status | string | "OK" | Indicates the current status of the object.
Values are: |
| TimeStamp | datetime | See “Date and Time Formats” at the beginning of Appendix B. | Indicates when the information in this object was last revised. This is not a collectable property. |
| TimeSubmitted | datetime | See “Date and Time Formats” at the beginning of Appendix B. | Indicates time that a job was submitted. |
| TotalPages | uint32 | Indicates the total page count submitted in the print job. | |
| UntilTime | datetime | See “Date and Time Formats” at the beginning of Appendix B. | Indicates the time after which the Job is invalid or should be stopped. |