IADsPrintJobOperations Property Methods

Property methods take the form of either get_<property> or put_<property>. The property methods of the IADsPrintJobOperations interface read and write the properties described below. For more information, see Interface Property Methods.

Properties in Vtable Order

Property Access Method Prototype
Status R/O HRESULT get_Status
([out] long *plStatus);
TimeElapsed R/O HRESULT get_TimeElapsed
([out] long *plTimeElapsed);
PagesPrinted R/O HRESULT get_PagesPrinted
([out] long *plPagesPrinted);
Position R/W HRESULT get_Position
([out] LONG *plPosition);

HRESULT put_Position
([in] LONG lPosition);


Property Descriptions

Status
Integer value indicating current status of service. The following values are defined:
Status Hex Value
ADS_JOB_PAUSED 0x00000001
ADS_JOB_ERROR 0x00000002
ADS_JOB_DELETING 0x00000004
ADS_JOB_PRINTING 0x00000010
ADS_JOB_OFFLINE 0x00000020
ADS_JOB_PAPEROUT 0x00000040
ADS_JOB_PRINTED 0x00000080
ADS_JOB_DELETED 0x00000100

TimeElapsed
Gets the time elapsed, in seconds, since the job started printing.
PagesPrinted
Gets the number of pages complete.
Position
Gets and sets the numeric position of the job in the queue.

See Also

IADsPrintJob, IADsPrintQueue, ADSI PrintJob Object, ADSI PrintQueue Object