PrintQueueStatus Enumeration
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 | |
|---|---|---|
| Busy | The printer is busy. | |
| DoorOpen | A door on the printer is open. | |
| Error | The printer cannot print due to an error condition. | |
| Initializing | The printer is initializing. | |
| IOActive | The printer is exchanging data with the print server. | |
| ManualFeed | The printer is waiting for a user to place print media in the manual feed bin. | |
| None | Status is not specified. | |
| NotAvailable | Status information is unavailable. | |
| NoToner | The printer is out of toner. | |
| Offline | The printer is offline. | |
| OutOfMemory | The printer has no available memory. | |
| OutputBinFull | The printer's output bin is full. | |
| PagePunt | The printer is unable to print the current page. | |
| PaperJam | The paper in the printer is jammed. | |
| PaperOut | The printer does not have, or is out of, the type of paper needed for the current print job. | |
| PaperProblem | The paper in the printer is causing an unspecified error condition. | |
| Paused | The print queue is paused. | |
| PendingDeletion | The print queue is deleting a print job. | |
| PowerSave | The printer is in power save mode. | |
| Printing | The device is printing. | |
| 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. | |
| ServerUnknown | The printer is in an error state. | |
| TonerLow | Only a small amount of toner remains in the printer. | |
| UserIntervention | The printer requires user action to correct an error condition. | |
| Waiting | The printer is waiting for a print job. | |
| WarmingUp | The printer is warming up. |
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 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.