RequiredInfo property (ILPrintJob Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

PrintJobInfoAttribEnum RequiredInfo

Overview

Refer to Print Management SCU.

Remarks

The RequiredInfo property specifies the Print Job information to be retrieved using the GetInfo method. It can be set to any combination of the following values:

Value

Meaning

PJ_EXECUTION_STATUS

[0x01] The Execution Status is required (ExecutionStatus property).

PJ_EXECUTION_STATUS_INFO

[0x02] The Execution Status Info is required (ExecutionStatusInfo property).

PJ_PRINT_PRIORITY

[0x04] The Print Priority is required (PrintPriority property).

PJ_CREATION_DATE

[0x08] The Creation Date is required (CreationDate property).

PJ_CREATION_TIME

[0x10] The Creation Time is required (CreationTime property).

PJ_PRINTER_NAME

[0x20] The Printer Name is required (PrinterName property).

PJ_ORIGINATOR

[0x40] The Originator is required (Originator property).

PJ_ALL_ATTRIBUTES

[0x7F] Combines all the above values and hence the Values of all the Attributes will be requested.

To query the Print SCP for the Value of an Attribute using the GetInfo method, the RequiredInfo property should specify the corresponding constant. If an Attribute is not specified, it will not be included in the request. However, if none of the Attributes is specified (by setting the RequiredInfo property to 0), then it will be assumed that the Values of all the Attributes are required (the same as PJ_ALL_ATTRIBUTES).

The default value of the property combines PJ_EXECUTION_STATUS, PJ_EXECUTION_STATUS_INFO, and PJ_PRINT_PRIORITY.

See Also

Elements:

GetInfo method

Topics:

DICOM Print Management SCU: Print Jobs