IADsPrintQueue Property Methods

Property methods take the form of either get_<property> or put_<property>. The property methods of the IADsPrintQueue interface get or set the properties described below. For more information, see Interface Property Methods.

Properties in Vtable Order

Property Access Method Prototype
BannerPage R/W HRESULT get_BannerPage
([out] BSTR *pbstrBannerPage);

HRESULT put_BannerPage
([in] BSTR bstrBannerPage);

Datatype R/W HRESULT get_Datatype
([out] BSTR *pbstrDatatype);

HRESULT put_Datatype
([in] BSTR bstrDatatype);

DefaultJobPriority R/W HRESULT get_DefaultJobPriority
([out] LONG *plDefaultJobPriority);

HRESULT put_DefaultJobPriority
([in] BSTR lDefaultJobPriority);

Description R/W HRESULT get_Description
([out] BSTR *pbstrDescription);

HRESULT put_Description
([in] BSTR bstrDescription);

HostComputer R/W HRESULT get_HostComputer
([out] BSTR *pbstrHostComputer);

HRESULT put_HostComputer
([in] BSTR bstrHostComputer);

Location R/W HRESULT get_Location
([out] BSTR *pbstrLocation);

HRESULT put_Location
([in] BSTR bstrLocation);

Model R/W HRESULT get_Model
([out] BSTR *pbstrModel);

HRESULT put_Model
([in] BSTR bstrModel);

PrintDevices R/W HRESULT get_PrintDevices
([out] VARIANT *pvPrintDevices);

HRESULT put_PrintDevices
([in] VARIANT vPrintDevices);

PrinterPath R/W HRESULT get_PrinterPath
([out] BSTR *pbstrPrinterPath);

HRESULT put_PrinterPath
([in] BSTR bstrPrinterPath);

PrintProcessor R/W HRESULT get_PrintProcessor
([out] BSTR *pbstrPrintProcessor);

HRESULT put_PrintProcessor
([in] BSTR bstrPrintProcessor);

Priority R/W HRESULT get_Priority
([out] LONG *plPriority);

HRESULT put_Priority
([in] LONG lPriority);

StartTime R/W HRESULT get_StartTime
([out] DATE *pdateStartTime);

HRESULT put_StartTime
([in] DATE dateStartTime);

UntilTime R/W HRESULT get_UntilTime
([out] DATE *pdateUntilTime);

HRESULT put_UntilTime
([in] DATE dateUntilTime);


Property Descriptions

BannerPage
Gets and sets the file system path that points to the banner page used to separate print jobs. If NULL no banner page is used.
DataType
Gets and sets the data type that can be processed by this queue.
DefaultJobPriority
Gets and sets the default priority assigned to each print job.
Description
Gets and sets the text description of this print queue.
HostComputer
Gets and sets the ADsPath string that references the host computer.
Location
Gets and sets the location of the queue as described by an administrator.
Model
Gets and sets the name of driver used by this print queue.
PrintDevices
Gets and sets a SAFEARRAY of BSTR containing the names of the print devices to which this print queue spools jobs.
PrinterPath
Gets and sets the string that references the path by which a shared printer can be accessed.
PrintProcessor
Gets and sets the print processor associated with this queue.
Priority
Gets and sets the priority of this Printer object's job queue for any connected devices. All jobs in higher priority Print Queue objects will be processed before those in lower priority Print Queue objects.
StartTime
Gets and sets the time at which the queue should begin processing jobs. The date portion of the time is ignored.
UntilTime
Gets and sets the time at which the queue should stop processing jobs.
Non-persistent Properties accessed through IADsPrintQueueOperations Access Compiler Syntax
Status R/O HRESULT get_Status
([out] LONG *plStatus);

Status
Integer value indicating current status of service. The following values are defined:
ADS_PRINTER_PAUSED 0x00000001
ADS_PRINTER_PENDING_DELETION 0x00000002
ADS_PRINTER_ERROR 0x00000003
ADS_PRINTER_PAPER_JAM 0x00000004
ADS_PRINTER_PAPER_OUT 0x00000005
ADS_PRINTER_MANUAL_FEED 0x00000006
ADS_PRINTER_PAPER_PROBLEM 0x00000007
ADS_PRINTER_OFFLINE 0x00000008
ADS_PRINTER_IO_ACTIVE 0x00000100
ADS_PRINTER_BUSY 0x00000200
ADS_PRINTER_PRINTING 0x00000400
ADS_PRINTER_OUTPUT_BIN_FULL 0x00000800
ADS_PRINTER_NOT_AVAILABLE 0x00001000
ADS_PRINTER_WAITING 0x00002000
ADS_PRINTER_PROCESSING 0x00004000
ADS_PRINTER_INITIALIZING 0x00008000
ADS_PRINTER_WARMING_UP 0x00010000
ADS_PRINTER_TONER_LOW 0x00020000
ADS_PRINTER_NO_TONER 0x00040000
ADS_PRINTER_PAGE_PUNT 0x00080000
ADS_PRINTER_USER_INTERVENTION 0x00100000
ADS_PRINTER_OUT_OF_MEMORY 0x00200000
ADS_PRINTER_DOOR_OPEN 0x00400000
ADS_PRINTER_SERVER_UNKNOWN 0x00800000
ADS_PRINTER_POWER_SAVE 0x01000000

See Also

IADsPrintQueueOperations, ADSI PrintQueue Object, ADSI PrintJob Object