RequiredInfo property (ILPrinter Interface)
PrinterInfoAttribEnum RequiredInfo | |
Overview |
Refer to Print Management SCU. |
Remarks
The RequiredInfo property specifies the printer information to be retrieved using the GetInfo method. It can be set to any combination of the following values:
Value |
Meaning |
PRN_PRINTER_STATUS |
[0x001] The Printer Status is required (PrinterStatus property). |
PRN_PRINTER_STATUS_INFO |
[0x002] The Printer Status Info is required (PrinterStatusInfo property). |
PRN_PRINTER_NAME |
[0x004] The Printer Name is required (PrinterName property). |
PRN_MANUFACTURER |
[0x008] The Manufacturer is required (Manufacturer property). |
PRN_MANUFACTURER_MODEL_NAME |
[0x010] The Manufacturer’s Model Name is required (ManufacturerModelName property). |
PRN_DEVICE_SERIAL_NUMBER |
[0x020] The Device Serial Number is required (DeviceSerialNumber property). |
PRN_SOFTWARE_VERSIONS |
[0x040] The Software Version(s) are required (SoftwareVersions property). |
PRN_DATE_OF_LAST_CALIBRATION |
[0x080] The Date of Last Calibration is required (DateOfLastCalibration property). |
PRN_TIME_OF_LAST_CALIBRATION |
[0x100] The Time of Last Calibration is required (TimeOfLastCalibration property). |
PRN_ALL_ATTRIBUTES |
[0x1FF] 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 PRN_ALL_ATTRIBUTES).
The default value of the property combines PRN_PRINTER_STATUS and PRN_PRINTER_STATUS_INFO.
See Also
Elements: |
|
Topics: |