BACK TO INDEX

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
PROPERTYSMS_REPORTCIMTYPEDESCRIPTION
CaptionStringThe Caption property is a short textual description (one-line string) of the object.
DataTypeStringThe 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
DescriptionStringThe Description property provides a textual description of the object.
DocumentStringThe 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
DriverNameStringThe DriverName property indicates the name of the printer driver used for the print job.
ElapsedTimeDateTimeLength of time that the job has been executing.
HostPrintQueueStringThe HostPrintQueue property contains the name of the computer on which the print job was created.
InstallDateDateTimeThe 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.
JobIdUInt32The 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.
JobStatusStringA free form string representing the job's status.
NameStringThe Name property contains the name of the printer to which the print job is being spooled.
NotifyStringUser to be notified upon job completion or failure. This property is restricted to 16 characters under Windows 9x platforms.
OwnerStringUser that submitted the job.
PagesPrintedUInt32The 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.
ParametersStringThe Parameters property indicates optional parameters to send to the print processor. See the PrintProcessor member for more information.
PrintProcessorStringThe 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.
PriorityUInt32Priority indicates the urgency or importance of execution of a job.
SizeUInt32The Size property indicates the size of the print job.
StartTimeDateTimeTime that the job was begun.
StatusStringThe 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.
StatusMaskUInt32The StatusMask property specifies a bitmap of the possible statuses relating to this print job.
TimeSubmittedDateTimeTime that the job was submitted.
TotalPagesUInt32The 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.
UntilTimeDateTimeTime after which the job is invalid or should be stopped.
SAMPLE DATA INSTANCE
   Class does not currently contain data instances