PrintQueueStatus Enumeration
Specifies the status of a print queue or its printer.
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 | |
|---|---|---|
| PowerSave | The printer is in power save mode. | |
| ServerUnknown | The printer is in an error state. | |
| DoorOpen | A door on the printer is open. | |
| OutOfMemory | The printer has no available memory. | |
| UserIntervention | The printer requires user action to correct an error condition. | |
| PagePunt | The printer is unable to print the current page. | |
| NoToner | The printer is out of toner. | |
| TonerLow | Only a small amount of toner remains in the printer. | |
| WarmingUp | The printer is warming up. | |
| Initializing | The printer is initializing. | |
| Processing | The device is doing some kind of work, which need not be printing if the device is a combination printer, fax machine, and scanner. | |
| Waiting | The printer is waiting for a print job. | |
| NotAvailable | Status information is unavailable. | |
| OutputBinFull | The printer's output bin is full. | |
| Printing | The device is printing. | |
| Busy | The printer is busy. | |
| IOActive | The printer is exchanging data with the print server. | |
| Offline | The printer is offline. | |
| PaperProblem | The paper in the printer is causing an unspecified error condition. | |
| ManualFeed | The printer is waiting for a user to place print media in the manual feed bin. | |
| PaperOut | The printer does not have, or is out of, the type of paper needed for the current print job. | |
| PaperJam | The paper in the printer is jammed. | |
| PendingDeletion | The print queue is deleting a print job. | |
| Paused | The print queue is paused. | |
| Error | The printer cannot print due to an error condition. | |
| None | Status is not specified. |
Like the PrintQueue class, this enumeration handles the print queue and the physical printer (or device) as one unit. Some values represent the status of the physical device and others represent the status of the print queue program that is running on the print server.
Use this enumeration to provide values for the QueueStatus property of the PrintQueue class.
The following example shows how to use this enumeration as part of a survey all printers for possible error status. For the complete sample, see Survey Status of Printers 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.