This property refers to the handle of the pointer to the specified printer's DevMode structure.
Reference
The handle of the pointer to the specified printer's DevMode structure
Explanation
The DevMode This property refers to the handle of the pointer to the specified printer's DevMode structure. (The DEVMODE structure stores information about various settings and properties of a device, such as a printer.) It is through the DevMode property that other print control properties such as Collate, ColorMode, Copies, CustomPaperHeight, CustomPaperWidth, Duplex, Orientation, PaperBin, PaperSize, XResolution, YResolution, Zoom are retrieved and set.
The memory block referred to by the DevMode property (the memory block that stores the information about various printer settings and properties) can be freed by executing the ReleaseDevModeHandle method (The DevMode property value will become 0 or NULL).
For more information about the DEVMODE structure, please refer to WindowsAPI or related manuals.
Setting this value
This value cannot be set.Retrieving this value
This value can be retrieved at runtime.