The following constants are used with the IADsPrintJobOperations.Status property to indicate the status of a print job.
ADS_JOB_PAUSED
1 (0x1)
The print job is paused.
ADS_JOB_ERROR
2 (0x2)
An error occurred.
ADS_JOB_DELETING
4 (0x4)
The print job is being deleted.
ADS_JOB_SPOOLING
8 (0x8)
The print job is being spooled.
ADS_JOB_PRINTING
16 (0x10)
The print job is being printed.
ADS_JOB_OFFLINE
32 (0x20)
The printer is offline.
ADS_JOB_PAPEROUT
64 (0x40)
The printer is out of paper.
ADS_JOB_PRINTED
128 (0x80)
The print job has been printed.
ADS_JOB_DELETED
256 (0x100)
The print job has been deleted.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Header | Adssts.h |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
