This documentation is archived and is not being maintained.
PrintJobStatus Enumeration
Visual Studio 2008
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.PrintingAssembly: System.Printing (in System.Printing.dll)
| Member name | Description | |
|---|---|---|
| Retained | The print job is retained in the print queue after printing. | |
| Completed | The print job is complete, including any post-printing processing. | |
| Restarted | The print job was blocked but has restarted. | |
| UserIntervention | The printer requires user action to fix an error condition. | |
| Blocked | An error condition, possibly on a print job that precedes this one in the queue, blocked the print job. | |
| Deleted | The print job was deleted from the queue, typically after printing. | |
| Printed | The print job printed. | |
| PaperOut | The printer is out of the required paper size. | |
| Offline | The printer is offline. | |
| Printing | The print job is now printing. | |
| Spooling | The print job is spooling. | |
| Deleting | The print job is in the process of being deleted. | |
| Paused | The print job is paused. | |
| Error | The print job is in an error state. | |
| None | The print job has no specified state. |
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.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: