| Win32_PrintJob |
| The Win32_PrintJob class represents a print job generated by a Win32 application. Any unit of work generated by the Print command of an application running on a Win32 system is a descendent (or member) of this class.
Example: A print document created by an Office 97 application |
| NameSpace Path |
| \ROOT\CIMV2 |
| PROPERTY | SMS_REPORT | CIMTYPE | DESCRIPTION |
| Caption | | String | The Caption property is a short textual description (one-line string) of the object. |
| DataType | | String | The DataType property indicates the format of the data for this print job. This instructs the printer driver to eithertranslate the data (generic text, PostScript, or PCL) before printing, or to print in a raw format (for graphics and pictures).
Example: TEXT |
| Description | | String | The Description property provides a textual description of the object. |
| Document | | String | The Document property specifies the name of the print job. The user sees this name when viewing documents waiting to be printed.
Example: Microsoft Word - Review.doc |
| DriverName | | String | The DriverName property indicates the name of the printer driver used for the print job. |
| ElapsedTime | | DateTime | Length of time that the job has been executing. |
| HostPrintQueue | | String | The HostPrintQueue property contains the name of the computer on which the print job was created. |
| InstallDate | | DateTime | The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed. |
| JobId | | UInt32 | The JobId property indicates the identifier number of the job. It is used by other methods as a handle to a single job spooling to the printer. |
| JobStatus | | String | A free form string representing the job's status. |
| Name | | String | The Name property contains the name of the printer to which the print job is being spooled. |
| Notify | | String | User to be notified upon job completion or failure. This property is restricted to 16 characters under Windows 9x platforms. |
| Owner | | String | User that submitted the job. |
| PagesPrinted | | UInt32 | The PagesPrinted property specifies the number of pages that have been printed. This value may be zero if the print job does not contain page delimiting information. |
| Parameters | | String | The Parameters property indicates optional parameters to send to the print processor. See the PrintProcessor member for more information. |
| PrintProcessor | | String | The PrintProcessor property indicates the print processor service used to process the print job. A printer processor works in conjunction with the printer driver to provide additional translation of printer data for the printer, and can also be used to provide special options such as a title page for the job. |
| Priority | | UInt32 | Priority indicates the urgency or importance of execution of a job. |
| Size | | UInt32 | The Size property indicates the size of the print job. |
| StartTime | | DateTime | Time that the job was begun. |
| Status | | String | The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states. |
| StatusMask | | UInt32 | The StatusMask property specifies a bitmap of the possible statuses relating to this print job. |
| TimeSubmitted | | DateTime | Time that the job was submitted. |
| TotalPages | | UInt32 | The TotalPages property specifies the number of pages required to complete the job. This value may be zero if the print job does not contain page-delimiting information. |
| UntilTime | | DateTime | Time after which the job is invalid or should be stopped. |
| SAMPLE DATA INSTANCE |
   Class does not currently contain data instances
|