XPS_JOB_COMPLETION enumeration (xpsprint.h)

[XPS_JOB_COMPLETION is not supported and may be altered or unavailable in the future. ]

Indicates the completion status of a print job.

Syntax

typedef enum __MIDL___MIDL_itf_xpsprint_0000_0000_0001 {
  XPS_JOB_IN_PROGRESS = 0,
  XPS_JOB_COMPLETED,
  XPS_JOB_CANCELLED,
  XPS_JOB_FAILED
} XPS_JOB_COMPLETION;

Constants

 
XPS_JOB_IN_PROGRESS
Value: 0
The print job is running.
XPS_JOB_COMPLETED
The print job finished without an error.
XPS_JOB_CANCELLED
The print job was cancelled by a call to IXpsPrintJob::Cancel, or cancelled while it was being processed by the print spooler.
XPS_JOB_FAILED
The print job failed. The jobStatus member of XPS_JOB_STATUS contains the error code of the failure.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header xpsprint.h

See also

Documents

IXpsPrintJob::GetJobStatus

XML Paper Specification

XPS_JOB_STATUS