XPS_JOB_COMPLETION enumeration

[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  { 
  XPS_JOB_IN_PROGRESS  = 0,
  XPS_JOB_COMPLETED,
  XPS_JOB_CANCELLED,
  XPS_JOB_FAILED
} XPS_JOB_COMPLETION;

Constants

XPS_JOB_IN_PROGRESS

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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

End of client support

Windows 8.1

Header

XpsPrint.h

See also

IXpsPrintJob::GetJobStatus
XPS_JOB_STATUS
Documents
XML Paper Specification

 

 

Community Additions

ADD
Show:
© 2014 Microsoft