XPRINT GET DC statement  

Purpose

Retrieve the handle of the device context (DC) for the host printer page.

Syntax

XPRINT GET DC TO hDC

Function Form:

hDC = XPRINT(DC)

Remarks

If no host printer is currently attached, zero is returned.  The DC handle may be used with various Windows API functions to perform specialized operations on the host printer page.

See also

XPRINT ATTACH