Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : PRINTER-HDC attribute
 

PRINTER-HDC attribute

A handle to the current Windows device context for a print job.
Data type: INTEGER
Access: Read-only
Applies to: SESSION system handle
The printer device context handle is the Windows Handle to a Device Context (HDC). The value of the PRINTER-HDC attribute is meaningless when the SESSION:PRINTER-CONTROL-HANDLE has a value of zero (0) or the Unknown value (?). For more information, see the reference entry for the PRINTER-CONTROL-HANDLE attribute.