This documentation is archived and is not being maintained.

EnumeratedPrintQueueTypes Enumeration

Specifies attributes of print queues.

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 EnumeratedPrintQueueTypes
'Usage
Dim instance As EnumeratedPrintQueueTypes

Member nameDescription
EnableDevQueryA print queue that holds its print jobs when the document and printer configurations do not match.
PushedMachineConnectionA print queue that was installed by using the Push Printer Connections computer policy. See Remarks.
PushedUserConnectionA print queue that was installed by using the Push Printer Connections user policy. See Remarks.
QueuedA print queue that allows multiple print jobs in the queue.
DirectPrintingA print queue that sends a print job directly to printing instead of spooling the job first.
PublishedInDirectoryServicesA print queue that is visible in the directory of printers.
WorkOfflineA print queue that can work offline.
RawOnlyA print queue that spools only raw data.
EnableBidiA print queue for a printer that has bidirectional communication enabled.
KeepPrintedJobsA print queue that keeps jobs in the queue after printing them.
FaxA print queue that services a fax machine.
TerminalServerA print queue that is installed by the redirection feature in Terminal Services.
ConnectionsA print queue that is connected to the specified print server.
SharedA print queue that is shared.
LocalA print queue that is installed as a local print queue on the specified print server.

Use these values with the GetPrintQueues method to list subsets of available print queues.

PushedMachineConnection and PushedUserConnection refer to policies that enable automated connection of machines and users to printers. See the section "Deploying Printers to Users or Computers by Using Group Policy" in the Step-by-Step Guide for Print Management.

The following example shows how to use the EnumeratedPrintQueueTypes enumeration to get a subset of available print queues. For the complete example, see Enumerating a Subset of Print Queues Sample.

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

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.

.NET Framework

Supported in: 3.5, 3.0
Show: