IADsPrintQueue Interface

Inherited from

IDispatch

IUnknown

IADs

Applies to Objects

Print Queue

This interface is exposed from the Print Queue object and is the primary interface for that object. The interface is useful for displaying and manipulating the properties of the Print Queue object.

Property/Method

Description

BannerPage

Gets and sets the file system path that points to the banner page used to separate print jobs

Datatype

Gets and sets the type of data that can be processed by the queue

DefaultJobPriority

Gets and sets the default priority assigned to each print job

Description

Gets and sets a brief description for the print queue

Location

Gets and sets the location of the queue as described by an administrator

Model

Gets and sets the name of the driver used by the print queue

NetAddresses

Gets the net address fields that represent the binding information for an object

PrintDevices

Gets and sets an array of strings containing the names of the printer ports to which the print queue spools jobs

PrinterPath

Gets the string that references the path by which a shared printer may be accessed

PrintProcessor

Gets and sets the name of the print processor used by the printer

Priority

Gets and sets the priority of the Printer object's job queue for any connected devices. All jobs in the higher priority Print Queue objects are processed before those in the lower priority Print Queue objects

StartTime

Gets and sets the time at which the queue should begin processing jobs

UntilTime

Gets and sets the time at which the queue should stop processing jobs

Example

Dim PrintQueue As IADsPrintQueue
'Get the interface. In the path HP DeskJet 500C is the print queue.
Set PrintQueue = GetObject ("NTDS://MSFT/MOON/HP DeskJet 500C")
'Print the printer path property
Debug.Print PrintQueue.PrinterPath

 

See Also