E. Active Directory Status Codes

Active Directory returns status codes from the list below in the STATUS properties of objects that represent Print Queues, Jobs, and Services. The specific value for each code can be found in the Active Directory SDK header files.

Status Codes for Print Queue Object

ADS_PRINTER_PAUSED.

ADS_PRINTER_PENDING_DELETION.

Status Codes for Print Device Object

ADS_PRINTER_OK

ADS_PRINTER_PAUSED

ADS_PRINTER_PENDING_DELETION

ADS_PRINTER_ERROR

ADS_PRINTER_PAPER_JAM

ADS_PRINTER_PAPER_OUT

ADS_PRINTER_MANUAL_FEED

ADS_PRINTER_PAPER_PROBLEM

ADS_PRINTER_OFFLINE

ADS_PRINTER_IO_ACTIVE

ADS_PRINTER_BUSY

ADS_PRINTER_PRINTING

ADS_PRINTER_OUTPUT_BIN_FULL

ADS_PRINTER_NOT_AVAILABLE

ADS_PRINTER_WAITING

ADS_PRINTER_PROCESSING

ADS_PRINTER_INITIALIZING

ADS_PRINTER_WARMING_UP

ADS_PRINTER_TONER_LOW

ADS_PRINTER_NO_TONER

ADS_PRINTER_PAGE_PUNT

ADS_PRINTER_USER_INTERVENTION

ADS_PRINTER_OUT_OF_MEMORY

ADS_PRINTER_DOOR_OPEN

ADS_PRINTER_SERVER_UNKNOWN

ADS_PRINTER_POWER_SAVE

Status Codes for Job Object

ADS_JOB_DELETING

ADS_JOB_ERROR

ADS_JOB_OFFLINE

ADS_JOB_PAPEROUT

ADS_JOB_PAUSED

ADS_JOB_PRINTED

ADS_JOB_PRINTING

ADS_JOB_SPOOLING

Status Codes for SERVICE Object

ADS_SERVICE_STOPPED

ADS_SERVICE_START_PENDING

ADS_SERVICE_STOP_PENDING

ADS_SERVICE_RUNNING

ADS_SERVICE_CONTINUE_PENDING

ADS_SERVICE_PAUSE_PENDING

ADS_SERVICE_PAUSED

ADS_SERVICE_ERROR