Description
The current print status of the job as a numerical value. This value is updated during the printing process. See the Remarks section for a list of the status values and what they mean.
Read-only.
Syntax
expression.Status
where expression is an IPNJob object.
Returns an Integer.
Remarks
The status is reported as a Long and can be one or more of the values in the table below.These are the same values used by the JOB_INFO_2 structure in Microsoft's Win32 Printing and Print Spooler functions and structures. See the Microsoft documentation for more details.
The values are OR'd together to define the current status of the job. To determine which values, the hexadecimal values must be examined:
If Status = 388, which is 0x00000184
JOB_STATUS_DELETED 0x00000100 JOB_STATUS_PRINTED 0x00000080 JOB_STATUS_DELETING 0x00000004 ------------------------------------ 0x00000184 |
Job Status |
Hexadecimal Value |
Integer Value |
---|---|---|
JOB_STATUS_PAUSED |
0x00000001 |
1 |
JOB_STATUS_ERROR |
0x00000002 |
2 |
JOB_STATUS_DELETING |
0x00000004 |
4 |
JOB_STATUS_SPOOLING |
0x00000008 |
8 |
JOB_STATUS_PRINTING |
0x00000010 |
16 |
JOB_STATUS_OFFLINE |
0x00000020 |
32 |
JOB_STATUS_PAPEROUT |
0x00000040 |
64 |
JOB_STATUS_PRINTED |
0x00000080 |
128 |
JOB_STATUS_DELETED |
0x00000100 |
256 |
JOB_STATUS_BLOCKED_DEVQ |
0x00000200 |
512 |
JOB_STATUS_USER_INTERVENTION |
0x00000400 |
1024 |
JOB_STATUS_RESTART |
0x00000800 |
2048 |
JOB_STATUS_COMPLETE |
0x00001000 |
4096 |
JOB_STATUS_RETAINED |
0x00002000 |
8192 |
JOB_STATUS_RENDERING_LOCALLY |
0x00004000 |
16384 |
See Also: AbortedBySystem AbortedByUser BytesPrinted BytesSpooled ConversionStatus ConvertedPages ConvertedPagesSkipped Document Files JobGUID JobID PagesPrinted PagesSpooled PrintSessionGUID Session StatusMessage SubmittedTime UserName