combit List & Label 25 - .NET Online Web Help
JobStatus Property


combit.ListLabel25 Namespace > PrintJobInfoEventArgs Class : JobStatus Property

Combination of state flags (JOB_STATUS_-constants in WINSPOOL.H).

Syntax
'Declaration
 
Public ReadOnly Property JobStatus As Integer
public int JobStatus {get;}
public:
property int JobStatus {
   int get();
}
Remarks

This function cannot be used with Windows 95, 98 or ME. The detail depth depends on the print spooler. Please note that all machines involved in the print process (i.e. print server and client) need to run NT based operating systems (since Windows Vista).

 

The dwState flags are defined as follows:

 

Const Value
JOB_STATUS_PAUSED 0x00000001
JOB_STATUS_ERROR 0x00000002
JOB_STATUS_DELETING 0x00000004
JOB_STATUS_SPOOLING 0x00000008
JOB_STATUS_PRINTING 0x00000010
JOB_STATUS_OFFLINE 0x00000020
JOB_STATUS_PAPEROUT 0x00000040
JOB_STATUS_PRINTED 0x00000080
JOB_STATUS_DELETED 0x00000100
JOB_STATUS_BLOCKED_DEVQ 0x00000200
JOB_STATUS_USER_INTERVENTION 0x00000400
JOB_STATUS_RESTART 0x00000800

Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

PrintJobInfoEventArgs Class
PrintJobInfoEventArgs Members