Print Jobs Attribute Class

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
Captionstring Describes the object. Maximum length is 64 characters.
DataTypestring Indicates the data type of the print job.
Descriptionstring Describes the object.
Documentstring Indicates the name of the document to be printed.
DriverNamestring Indicates the name of the printer drive used for the print job.
ElapsedTimedatetimeSee “Date and Time Formats” at the beginning of Appendix B.Indicates the length of time that the job has been executing.
GroupIDuint322Within 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.
HostPrintQueuestring Indicates the name of the host print queue.
InstallDatedatetimeSee “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.
JobIduint32 Indicates the identifier number of the job.
Namestring Key. Serves as key of a job instance in the context of a print job. Maximum length of the label is 256 characters.
Notifystring Indicates that the user should be notified at job completion or failure.
Ownerstring Identifies the user who submitted the job.
PagesPrinteduint32 Indicates the number of pages printed.
Parametersstring Indicates the printing parameters of the print job.
PrintProcessorstring Indicates the service used to process the print job.
Priorityuint32 Indicates the urgency, or importance, of the execution of a job.
ResourceIduint3242Key. 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.

RevisionIDuint321Objects 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.
Sizeuint32 Indicates the print job size in bytes.
StartTimedatetimeSee “Date and Time Formats” at the beginning of Appendix B.Indicates the time that the job was begun.
Statusstring"OK"Indicates the current status of the object.

Values are:
OK
Error
Degraded
Unknown

TimeStampdatetimeSee “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.
TimeSubmitteddatetimeSee “Date and Time Formats” at the beginning of Appendix B.Indicates time that a job was submitted.
TotalPagesuint32 Indicates the total page count submitted in the print job.
UntilTimedatetimeSee “Date and Time Formats” at the beginning of Appendix B.Indicates the time after which the Job is invalid or should be stopped.