PrintJobStatus Enumeration

Specifies the current status of a print job in a print queue.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace: System.Printing
Assembly: System.Printing (in system.printing.dll)

'Declaration
<FlagsAttribute> _
Public Enumeration PrintJobStatus
'Usage
Dim instance As PrintJobStatus

/** @attribute FlagsAttribute() */ 
public enum PrintJobStatus
FlagsAttribute 
public enum PrintJobStatus

 Member nameDescription
BlockedAn error condition, possibly on a print job that precedes this one in the queue, blocked the print job. 
CompletedThe print job is complete, including any post-printing processing.  
DeletedThe print job was deleted from the queue, typically after printing. 
DeletingThe print job is in the process of being deleted. 
ErrorThe print job is in an error state. 
NoneThe print job has no specified state. 
OfflineThe printer is offline. 
PaperOutThe printer is out of the required paper size. 
PausedThe print job is paused. 
PrintedThe print job printed.  
PrintingThe print job is now printing. 
RestartedThe print job was blocked but has restarted. 
RetainedThe print job is retained in the print queue after printing. 
SpoolingThe print job is spooling. 
UserInterventionThe printer requires user action to fix an error condition.  

This enumeration is used primarily as the value of the JobStatus property.

The following example shows how to use this enumeration when diagnosing a problem with a print job. For the full sample, see Diagnose Problematic Print Job Sample.

No code example is currently available or this language may not be supported.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show: