CIM_Job is a logical element representing a unit of work for a system, such as a print job. A job is distinct from a process in that a job can be scheduled.
'The Pause method pauses a job in a print queue. If the job was currently printing, no other job will be printed. If the job wasn't printing yet, another unpaused print job may begin printing. The method can return the following values: 0 - Success. 5 - Access denied. Other - For integer values other than those listed above, refer to the documentation on the Win32 error codes.'
'The Resume method continues a paused print job. The method can return the following values: 0 - Success. 5 - Access denied. Other - For integer values other than those listed above, refer to the documentation on the Win32 error codes.'
'The Color property indicates whether the document is to be printed in color or monochrome. Some color printers have the capability to print using true black instead of a combination of Yellow, Cyan, and Magenta. This usually creates darker and sharper text for documents. This option is only useful for color printers that support true black printing.'
MappingStrings
['Win32API|Printing and Print Spooler Structures|DEVMODE|dmColor']
'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'
MappingStrings
['Win32API|Printing and Print Spooler Structures|JOB_INFO_4|pDatatype']
read
True
DataType property is in 1 class (Win32_PrintJob) of ROOT\cimv2 and in 6 namespaces
'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'
MappingStrings
['Win32API|Printing and Print Spooler Structures|JOB_INFO_4|pDocument']
read
True
Document property is in 1 class (Win32_PrintJob) of ROOT\cimv2 and in 1 namespace
'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.'
MappingStrings
['Win32API|Printing and Print Spooler Structures|JOB_INFO_4|PagesPrinted']
read
True
PagesPrinted property is in 1 class (Win32_PrintJob) of ROOT\cimv2 and in 3 namespaces
'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.'
MappingStrings
['Win32API|Printing and Print Spooler Structures|JOB_INFO_4|pPrintProcessor']
'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.'
MappingStrings
['Win32API|Printing and Print Spooler Structures|JOB_INFO_4|TotalPages']
'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.'
'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.'
'CIM_Job is a logical element representing a unit of work for a system, such as a print job. A job is distinct from a process in that a job can be scheduled.'